Actions26
- DATA Actions
- Image URL Actions
Image URL → Resize Image
AI-generatedSummary
Resizes an image to specified dimensions and converts it to JPG, PNG, or WEBP.
Inputs
- image_url (required) — URL of the image to resize (required for Image URL resource).
- width (required) — Target width of the resized image in pixels (minimum 1).
- height (required) — Target height of the resized image in pixels (minimum 1).
- format — Output image format: JPG, PNG, or WEBP (defaults to JPG).
Output shape
a binary image and a JSON object containing metadata about the operation.
Returns a binary data field with the resized image and a JSON object with metadata including image source, dimensions, and format. Requires Picsart API credentials.
Examples
Example 1: Resize a 1920x1080 image to 800x600 for a website thumbnail.
Image URL, Width: 800, Height: 600, Format: JPG
Example 2: Upscale a small image to 4K resolution.
Image URL, Width: 3840, Height: 2160, Format: PNG