Rotate & Flip

Uploadcare Image processing allows rotating images manually and according to EXIF, flip, and mirror images. Image Rotation follows the general image transformation workflow.

Automatic rotation, EXIF-based

-/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.

EXIF auto rotate
Default.
No EXIF auto rotation
-/autorotate/no/

Manual rotation

-/rotate/:angle/

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

Original image
Original image.
Rotate 90 degrees CCV
-/rotate/90/
Rotate 180 degrees
-/rotate/180/
Rotate 90 degrees CV
-/rotate/270/

Flip

-/flip/

Flips images.

Original image
Original image.
Vertical flip
-/flip/

Mirror

-/mirror/

Mirrors images.

Original image
Original image.
Vertical flip (mirror)
-/mirror/