Skip to main content

Extract a region of the image

Extract transformation allows users to remove a specified region of an image. It involves selecting a particular area of interest from an image and removing the remaining background or unwanted pixels. Extraction (cropping) of a certain part can be useful when the user doesn’t want to resize an image.


Top (t)

Zero-indexed offset from the top edge.

Left (l)

Zero-indexed offset from the left edge.

Height (h)

Height of the region to extract.

Width (w)

Width of the region to extract.

We have extracted a region with dimensions, t:100,l:100,h:600,w:1000, from the original image.
Is this page useful?