Simple API for detecting image dimensions
This SaaS project was bootstrapped with Saasify.
This project provides a hosted API for image-size.
We set aside the majority of any revenue generated from this API for the original OSS developers. If this is you, please get in touch to setup payouts and answer any questions you may have.
Welcome to the quick-start! There is currently only one API, which is detailed below via cURL
.
Also be sure to check out the full reference of API endpoints.
curl -X POST 'https://api.saasify.sh/1/call/dev/image-size/sizebyurl' \
-H 'content-type: application/json' \
-d '{
"url": "https://upload.wikimedia.org/wikipedia/commons/2/23/Close_up_of_a_black_domestic_cat.jpg"
}'
Returns the dimensions of the image
{
"height": 4032,
"orientation": 1,
"width": 3024,
"type": "jpg"
}
- BMP
- CUR
- DDS
- GIF
- ICNS
- ICO
- JPEG
- KTX
- PNG
- PNM (PAM, PBM, PFM, PGM, PPM)
- PSD
- SVG
- TIFF
- WebP
MIT © image-size