Rotate image

Rotate the output image by either an explicit angle.

GET https://gateway.omnidata.xyz/ipfs/:cid?rotate=180

If an angle is provided, it is converted to a valid positive degree rotation. For example, -450 will produce a 270deg rotation.

If no angle is provided, it is determined from the EXIF data. Mirroring is supported and may infer the use of a flip operation.

Path Parameters

NameTypeDescription

cid*

String

The IPFS hash/cid

Query Parameters

NameTypeDescription

rotate*

String

The angle of rotation. (default auto)

Last updated