Skip to content

Orientation

Change the orientation of your image, by either flipping along its axes or rotating around the center.

Flip &flip

Mirror the image vertically (up-down) about the x-axis. This always occurs after rotation, if any.

html
<img src="//wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&h=300&flip">
md
![Flip](https://wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&h=300&flip)

Flip

Flop &flop

Mirror the image horizontally (left-right) about the y-axis. This always occurs after rotation, if any.

html
<img src="//wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&h=300&flop">
md
![Flop](https://wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&h=300&flop)

Flop

Rotation &ro=

Rotates the image by either an explicit angle or auto-orient based on the EXIF Orientation tag.

If an angle is specified, it is converted to a valid positive degree rotation. For example, -450 will produce a 270 degree rotation. When rotating by an angle other than a multiple of 90, the background color can be provided with the &rbg= parameter. See here for the supported color formats.

If no angle is provided, it is determined from the EXIF data.

html
<img src="//wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&h=300&ro=45&rbg=red">
md
![Rotation](https://wsrv.nl/?url=wsrv.nl/lichtenstein.jpg&h=300&ro=45&rbg=red)

Rotation