crop crop

Crop Image. Specifies a rectangular crop region, expressed either in pixels or normalized relative to the full-resolution source image or mask image.

crop= *coord*, *size*

cropN= *coordN*, *sizeN*

coord
Pixel offset from the top-left corner of the source image to the top-left of the crop rect (int, int).
coordN
Normalized offset from the top-left of the source image to the top-left of the crop rect (real, real).
size
Size of the crop rect in pixels (int, int).
sizeN
Normalized size of the crop rect relative to the size of the source image (real, real).

May also be used to extend the image beyond its boundaries by specifying negative x, y values and/or width, height values larger than the image width, height. In this case, the extended area is fully transparent (unless bgColor= is specified).

Properties section-632e0405bb9940679b5f8b1c10e0902e

Source image/mask attribute. Applies to the layer 0 source image if layer=comp. Ignored by layers which are not associated with a source image or mask.

Default section-41f62d386c664f77952bc22e7286bb88

Entire image ( cropN=0,0,1,1).

Examples section-2c99b481c0a04321979a3b522aa295d1

Crop 10% off the left and 10% off the right:

…&cropN=0.1,0,0.8,1&…

Crop 20% off the bottom edge of an image:

…&cropN=0,0,1,0.8&…

See also section-d5616c7aa0ce4faa88f51dd5662e5daf

cropPath bgColor= , anchor=, extend=

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49