Skip to main content

Flip

Flip an image left to right (horizontal) or top to bottom (vertical).

info

flip can be combined with all other options.

TransformationExamplesDescription
flip=typeflip=v&resize=100,100 Image flipped left to rightrequest a image flipped along vertical axis (left/right flip)
flip=type&resize=width,heightflip=h&resize=100,100 Image flipped top to bottomrequest a image flipped along horizontal axis (top/down) and resized

The transformation parameters are described below:-

ParameterDescription
typev 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

URLResult
https://cdn.filespin.io/api/v1/assets/{ASSET_ID}/conversions?flip=v&resize=100,100flipped left to right, resized to fit 100x100
https://cdn.filespin.io/api/v1/assets/{ASSET_ID}/conversions?flip=h&resize=100,100flipped top to bottom, resized to fit 100x100