Skip to main content
Log inSign up
enum

The part of the image that should remain after cropping.

•

Keep the bottom of the image.

•

Keep the center of the image.

•

Keep the left of the image.

•

Keep the right of the image.

•

Keep the top of the image.


Was this section helpful?

•
ARGUMENT

Crops the image according to the specified region.

•
ARGUMENT

Crops the image according to the specified region.

•
ARGUMENT

Crops the image according to the specified region.

•
INPUT OBJECT

The region of the image to remain after cropping. Must be used in conjunction with the maxWidth and/or maxHeight fields, where the maxWidth and maxHeight aren't equal. The crop argument should coincide with the smaller value. A smaller maxWidth indicates a LEFT or RIGHT crop, while a smaller maxHeight indicates a TOP or BOTTOM crop. For example, { maxWidth: 5, maxHeight: 10, crop: LEFT } will result in an image with a width of 5 and height of 10, where the right side of the image is removed.

•
ARGUMENT

Crops the image according to the specified region.

•
ARGUMENT

Crops the image according to the specified region.

•
ARGUMENT

Crops the image according to the specified region.

Show
deprecated fields Deprecated
•
ARGUMENTDeprecated

Crops the image according to the specified region.

•
ARGUMENTDeprecated

Crops the image according to the specified region.

•
ARGUMENTDeprecated

Crops the image according to the specified region.


Was this section helpful?