{"category":"image","endpoint":"https://setget.net/v1/tools/image-pad","examples":[{"input":{"image":"sample.png","padding":20},"title":"20 pixel white border"},{"input":{"bottom":40,"color":"#000000","image":"sample.png","top":40},"title":"Black bars above and below"},{"input":{"color":"transparent","image":"sample-transparent.png","padding":16},"title":"Transparent margin"}],"input_schema":{"additionalProperties":false,"properties":{"bottom":{"description":"Pixels to add below the image.","maximum":5000,"minimum":0,"type":"integer"},"color":{"default":"#ffffff","description":"Colour of the added area. transparent works in formats that support it and becomes white in others, such as JPG. A hex colour such as #ff8800, or a name such as white or black.","examples":["#ffffff"],"type":"string"},"image":{"description":"The image to pad.","format":"setget-file","type":"string","x-accept":["image"]},"left":{"description":"Pixels to add to the left of the image.","maximum":5000,"minimum":0,"type":"integer"},"padding":{"description":"Pixels to add on every side that is not set separately.","examples":[20],"maximum":5000,"minimum":0,"type":"integer"},"right":{"description":"Pixels to add to the right of the image.","maximum":5000,"minimum":0,"type":"integer"},"top":{"description":"Pixels to add above the image.","maximum":5000,"minimum":0,"type":"integer"}},"required":["image"],"type":"object"},"keywords":["padding","border","margin","frame","canvas size","extend","letterbox","whitespace","add space"],"related":["image-crop","image-round-corners","image-resize","image-flatten"],"slug":"image-pad","summary":"Add padding, margin or a coloured border around an image, the same on every side or set per side.","tier":"job","timeout_seconds":120,"title":"Add padding or a border","url":"https://setget.net/tools/image-pad"}
