Rotating images

With our on-the-fly processing, you can rotate images manually and according to EXIF, flip and mirror images.

autorotate

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

The default behavior is to parse EXIF tags of original images and rotate them according to the “Orientation” tag. This is what we call autorotation. -/autorotate/no/ allows to turn off the default behavior.


Default.

/autorotate/no/

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/

flip

Flips images.


Original image.

/flip/

mirror

Mirrors images.


Original image.

/mirror/

We’re always happy to help with code, integration, and other stuff. Search our site for more info or post your question in our Community Area.