Removes pixels from an image before any other transformations occur.
crop except that
precrop is performed before any other transformations.
Click the links to view the transformed image using a demo Fastly IO service.
|Pre-crop the image to 150px by 100px|
|Pre-crop the image to an aspect ratio of 16:9|
|Pre-crop the image to 150px by 100px and select the starting sub region x coordinate to be 50px and the y sub region to be 50px|
|Pre-crop the image square and offset the x-axis 25% and the y-axis 50%|
|Fail-safe pre-crop the image to 3000x600 and select the starting sub region x coordinate to be 100px and the y sub region to be 100px|
|Pre-crop the image square and resize the width to 200px|
|Trim 30% of the image, resize the width to 200px and pre-crop the image square using content-aware image cropping|