# Flip

Mirrors the image horizontally and/or vertically.

<mark style="color:orange;">**flip=h**</mark> | <mark style="color:orange;">**flip=v**</mark> | <mark style="color:orange;">**flip=hv**</mark>

## Examples

| Preview                                                                                                                                                                                                             | Syntax                                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FXRNCoO6IFQB5xN2JhIf1%2Fimage.png?alt=media\&token=e5381136-a144-4a48-82a2-98c12dc73714) | <p>Flip horizontally:<br><a href="https://fdocs.filerobot.com/docs/flat_hd.jpg?w=400&#x26;flip=h">/docs/flat\_hd.jpg?<mark style="color:orange;"><strong>w=400</strong></mark>&<mark style="color:orange;"><strong>flip=h</strong></mark></a></p>                       |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FDcd1fIzZnqi2XT7LHqNU%2Fimage.png?alt=media\&token=d877a43a-b868-4df0-ad48-f2a3e183a2d5) | <p>Flip both horizontally and vertically:<br><a href="https://fdocs.filerobot.com/docs/flat_hd.jpg?w=400&#x26;flip=hv">/docs/flat\_hd.jpg?<mark style="color:orange;"><strong>w=400</strong></mark>&<mark style="color:orange;"><strong>flip=hv</strong></mark></a></p> |

{% hint style="info" %}
If the image is also rotated, rotation is performed *after* the image has been flipped.
{% endhint %}
