Rotate image
Last updated
Last updated
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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
cid*
String
The IPFS hash/cid
rotate*
String
The angle of rotation. (default auto
)