pad Padding

Pads the image by the number of pixels specified. Must be a positive integer.

If the image is requested without a specified width and height, padding will add to the dimensions of the image. If the image is cropped or resized, the padding will size down the image to fit within the scaled dimensions.

The padded area will be filled in with the bg property or transparent if not specified. Output formats that do not support transparency will be filled with white.