Skip to main content

Extract a region of the image

In this transformation, we can remove a specified region of an image. Extraction (cropping) of a certain part can be useful when the user doesn’t want to resize an image.


Params

Top (t)

Zero-indexed offset from top edge. t is an alias of this parameter.

Left (l)

Zero-indexed offset from left edge. l is an alias of this parameter.

Height (h)

Height of the region to extract. h is an alias of this parameter.

Width (w)

Width of the region to extract. w is an alias of this parameter.

Is this page useful?