Map every padding value to the correct side
Claid supports percentage and pixel padding. The important distinction for asymmetric product placement is that four side-specific values are available in the pixel form, and their documented order is top, bottom, left, right.
For example, 0px 500px 0px 0px requests no top padding, 500 pixels below the product, and no left or right padding. Reinterpreting those values as CSS top-right-bottom-left would put the additional space on the wrong side.
This matters when the layout has a directional purpose. A product positioned toward the top may need space underneath for separately added text. A product deliberately positioned toward the left needs a different allocation. Do not use a symmetric value and expect the canvas to infer which side should receive the larger margin.
Claid also accepts one pixel value for all sides and two values for horizontal and vertical spacing. Each pixel-padding side has a documented 4096px ceiling. Percentage padding supports one value or a horizontal-and-vertical pair, with a limit of half the relevant image dimension.
Decide whether padding begins at the image or the clipped product
Padding around an untrimmed photograph and padding around a detected foreground object are different operations. If the original photograph contains substantial empty space, adding padding without clipping can preserve that source-space relationship rather than establish a new margin measured from the product.
Claid documents background removal with clipping: true as the route that starts padding from the foreground object's boundaries. This is the relevant branch when the intended layout is defined relative to the product itself.
The following illustrative request fragment follows Claid's documented clipping, canvas and four-value padding structure. The source URL is intentionally invalid.
{
"input": "https://assets.example.invalid/product.png",
"operations": {
"background": {
"remove": {
"clipping": true
}
},
"resizing": {
"width": 2048,
"height": 2048,
"fit": "canvas"
},
"padding": "0px 500px 0px 0px"
}
}Account for resizing before treating the margin as exact
Claid's documentation explains that when output dimensions are omitted, padding can preserve the source canvas dimensions by reducing the apparent size of the product. It also warns that canvas fit can fill padding space to satisfy the required aspect ratio.
Consequently, the 500px setting above expresses the requested padding allocation; it is not proof that the delivered file has exactly 500 unchanged pixels between the product and its bottom edge.
Record the clipping state, all four padding values, requested dimensions and fit mode together. The existing Claid clipping guide covers the separate default-resizing problem where a trimmed foreground is enlarged. This decision concerns which side receives additional space and where that space begins.
Next action: confirm the four-value order and the clipping boundary before preparing the request, then measure the actual product-to-canvas clearances in any returned file.
Illustrative decision: a top-aligned package with space below
A merchant prepares a square promotional image of a packaged accessory. The layout needs the complete package near the top and an open area underneath for a separately typeset product description.
The proposed configuration uses background clipping, a 2048 × 2048 canvas and padding: "0px 500px 0px 0px". The second value, not the third, specifies bottom padding.
If the merchant instead needs a balanced catalog image, this asymmetric allocation is inappropriate. The next action is to replace it with a symmetric padding contract rather than modifying the package's proportions.
For the top-aligned version, the reviewer must still measure the final clearance because canvas processing can affect the result. No Claid image was generated for this example.
Source and evidence scope
Prepared by the CartVisual editorial team with AI assistance. Competitor behavior is documented rather than independently executed for this guide.
Official source snapshot checked .
The supplied Claid Padding page establishes value forms, side order, object-bound clipping, size defaults and canvas interaction. It does not guarantee measured final clearances after resizing. The example is an unexecuted configuration plan; CartVisual does not run this API.