Image Rotation

Uploadcare Image Transformations allow rotating images manually and according to EXIF, flip and mirror images. Image Rotation follows the general CDN API workflow.

Automatic Rotation, EXIF-based, autorotate

-/autorotate/yes/
-/autorotate/no/

The default behavior goes with parsing EXIF tags of original images and rotating them according to the “Orientation” tag. This is what we call autorotation. -/autorotate/no/ allows turning off the default behavior.

Autorotation only works when at least one other image transformation is applied.


Default.

/autorotate/no/

Manual Right-Angle Rotation, rotate

-/rotate/:angle/

Right-angle image rotation, counterclockwise. The value of :angle must be a multiple of 90.


Original image.

/rotate/90/

/rotate/180/

/rotate/270/

Flipping Images, flip

Flips images.


Original image.

/flip/

Mirroring Images, mirror

Mirrors images.


Original image.

/mirror/