Trim Padding trim-pad

Adds padding to an image transformed with trim by the number of pixels specified. Must be a positive integer. The parameters for trim=auto or trim=color must be added to the query in order for trim-pad to work.

If the image is requested without a specified width and height, padding will be added to the dimensions of the image. If the image is cropped or resized, the image (including the padding) will be sized to fit within the requested dimensions.

See the API specification for more information about this parameter's value ranges and format.