For the complete documentation index, see llms.txt. This page is also available as Markdown.

Positionable Crop

Crop by boundary coordinates

Allows to crop an image by providing the cropping area. It is useful when you want to crop a specific part of the image. To set the coordinates of the crop rectangle, use the tl_px and br_px operations.

tl_px=X1,Y1

br_px=X2,Y2

Examples

Original image: /docs/kids.jpg

Combining positionable crop with resize modes

Positionable crop can be combined with all available resize functions - width/height, crop, fit, bound or cover. This operation is performed after the positionable crop.

Examples

Last updated