Usage

Reference

Supported formats, error codes, and quick lookup tables

Supported Input Formats

FormatTransformableNotes
JPEGYesMost common product image format
PNGYesSupports transparency
WebPYesModern format, good compression
GIFReturned as-isAnimated GIFs are not re-encoded
TIFFYesConverted to requested output format
SVGReturned as-isVector — no raster transformation
PDFReturned as-isServed with correct MIME type


Error Responses

StatusConditionResponse
304If-None-Match matches ETagEmpty body (use cached version)
400Invalid parameters (e.g. fit without both dimensions)INVALID_PARAMETERS
404Image not found in storageBranded HTML 404 page
422Unprocessable transform (e.g. corrupt image)INVALID_PARAMETERS
504Transform timeout (30s limit)TIMEOUT

Image bomb protection: Images exceeding 100 megapixels are rejected to prevent memory exhaustion.


Copyright © 2026