Image Resize & Compress API
Process images programmatically with resize, compress, and convert operations. Features: - Resize with multiple fit modes (cover, contain, fill, inside, outside) - Compression with quality control (1-100) - Format conversion (PNG, JPEG, WebP, AVIF) - Image metadata extraction - Max upload size: 10MB - Powered by Sharp (libvips) Perfect for: - Image optimization pipelines - Thumbnail generation -…
Image Resize & Compress API endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
resizeImage /resize |
Resize an uploaded image with custom dimensions and fit mode. |
| POST |
compressImage /compress |
Compress an uploaded image with quality control. |
| POST |
convertImage /convert |
Convert an image to a different format (PNG, JPEG, WebP, AVIF). |
| POST |
imageInfo /info |
Extract metadata from an uploaded image (dimensions, format, channels, alpha, orientation). |