GUIDES BY TOPIC
Transformations
-

Preserve Transparency Across Image Formats
Preserve transparency only when the output format and transformation chain support alpha, with an explicit background fallback otherwise.
-

Deliver AVIF, WebP, or JPEG Automatically
Automatic format delivery should negotiate among AVIF, WebP, and a compatible fallback while keeping cache variation controlled.
-

Choose Image Quality by Content Type
Quality should be a policy by content class, format, and viewing size, then validated with bytes and visual checks.
-

Generate Responsive Image Widths
Generate a small width set from measured layout slots and let the browser choose with accurate srcset and sizes markup.
-

Create Fill, Fit, and Pad Transformations
Fill, fit, and pad are different product decisions: fill may crop, fit preserves the whole image, and pad creates a fixed canvas.
-

Use Face-Aware Cropping Responsibly
Face-aware cropping is a suggestion system that needs confidence thresholds, privacy review, and a human-safe fallback.
-

Crop Images Around a Focal Point
A focal crop should store the important region as source-relative metadata and derive each output from that stable intent.
-

Resize Images Without Distorting Aspect Ratio
Resize from a declared fit policy and preserve the source aspect ratio unless the product explicitly requests a crop or distortion.
-

Build a Safe Image Transformation Grammar
A safe transformation grammar exposes a small allowlisted vocabulary with bounded values and a canonical order.
-

Image Transformation URLs: Resize, Crop, Format, and Quality
A transformation URL is a cacheable recipe: it identifies the source image, ordered operations, output policy, and version needed to produce a derivative.
-

Create Image Sprites from API Results
Treat create image sprites from api results as an explicit product contract with bounded inputs, durable identity, observable completion, and a tested fallback.
-

How to resize 1000 images to 5 different sizes with an Image Transformation API
Create one immutable source and a bounded manifest of named output recipes; queue work by asset and recipe version.