Cropped image
What this tool does
This tool cuts a rectangle out of an image. You choose the top-left corner and the size, and it returns the cropped picture in the format you prefer. It is the quick way to remove margins, focus on a product or extract a detail from a screenshot.
When to use it
- Removing white margins or borders from a scanned image.
- Focusing a photo on the subject before publishing it.
- Extracting a chart or table from a screenshot.
- Preparing a square crop for a marketplace or a profile.
What to expect
You get a link to the cropped image plus the final width and height.
Limitations
- Coordinates are pixels from the top-left corner.
- The box is clamped to the image: asking for more area returns the available part.
- JPEG output flattens transparency onto white.
When it fails
- The URL is not a readable image.
- Width or height are missing or not numbers.
- The file exceeds 25 MB.
Good to know
- Leave
formatempty to keep the original format. - Combine it with
transform-resize-imageto crop and scale in two steps.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
url | Yes | https://public.downloads.uproc.io/samples/uproc-og.png | Public URL of the image. |
x | No | 0 | Horizontal offset in pixels from the top-left corner. Default 0. |
y | No | 0 | Vertical offset in pixels from the top-left corner. Default 0. |
width | Yes | 600 | Crop width in pixels. |
height | Yes | 400 | Crop height in pixels. |
format | No | original | Output format: original, jpeg, png or webp. |
quality | No | 85 | Quality for JPEG/WebP, between 1 and 100. |
Output data
| Field | Description |
|---|---|
result | Signed URL of the cropped image. |
width | Width of the resulting image in pixels. |
height | Height of the resulting image in pixels. |