Resize image
Get resized image by using the IPFS CID
Resize image to the specified width and height.
GET
https://gateway.omnidata.xyz/ipfs/:cid
When both a width
and height
are provided, the fit of the image will be cover
- Preserving aspect ratio, ensure the image covers both provided dimensions by cropping/clipping to fit.
Path Parameters
Name | Type | Description |
---|---|---|
cid* | String | The IPFS cid |
Query Parameters
Name | Type | Description |
---|---|---|
w | String | The width of the image is to be returned. e.g. |
h | String | The height of the image is to be returned. e.g. |
Last updated