The photos taken by some mobile phones may contain rotation parameters (saved as EXIF data of the photos). You can configure whether to rotate such photos. By default, adaptive orientation is configured.

Parameters

Operation name: auto-orient

Parameter Description Value range
value

Indicates whether to perform auto rotation.

0 indicates that the orientation of the source image is retained without auto rotation.

1 indicates rotating and then scaling down the image.

0 and 1

Caveats

  • To apply adaptive orientation, make sure that the width and height of the source image are smaller than 4,096.
  • If the source image does not contain rotation parameters, setting the parameter of auto-orient for the image does not affect the image.

Example