Actions26
- DATA Actions
- Image URL Actions
Image URL → Crop Image
AI-generatedSummary
Crops an image to specified width and height, returning the processed image in a selected format.
Inputs
- image_url — URL of the image to crop (required when using Image URL resource).
- width (required) — Target width of the cropped image in pixels (minimum 1).
- height (required) — Target height of the cropped image in pixels (minimum 1).
- format — Output image format (JPG, PNG, or WEBP; defaults to JPG).
Output shape
One output item per input item containing a binary image and JSON metadata.
Binary data is returned with a filename matching the requested format (e.g., cropped-image.jpg).
Examples
Example 1: Crop a public image to a square 512x512 pixels.
Input URL: https://example.com/image.jpg; Width: 512; Height: 512; Format: JPG