Flip
Flip an image left to right (horizontal) or top to bottom (vertical).
info
flip can be combined with all other options.
| Transformation | Examples | Description |
|---|---|---|
flip=type | flip=v&resize=100,100 ![]() | request a image flipped along vertical axis (left/right flip) |
flip=type&resize=width,height | flip=h&resize=100,100 ![]() | request a image flipped along horizontal axis (top/down) and resized |
The transformation parameters are described below:-
| Parameter | Description |
|---|---|
type | v for vertical flip, h for horizontal flip |
Examples
Flip parameters go on the asset's on-demand image URL, like every other transformation, and combine with other options using &:
https://cdn.filespin.io/api/v1/assets/{ASSET_ID}/conversions?flip=v&resize=100,100
| URL | Result |
|---|---|
https://cdn.filespin.io/api/v1/assets/{ASSET_ID}/conversions?flip=v&resize=100,100 | flipped left to right, resized to fit 100x100 |
https://cdn.filespin.io/api/v1/assets/{ASSET_ID}/conversions?flip=h&resize=100,100 | flipped top to bottom, resized to fit 100x100 |

