I/O and conversion
File I/O, compressed buffers, raw pixel memory, streaming I/O, and header-only metadata probing and stats. Format conversion · Streaming I/O · File I/O · Buffers and raw memory · Metadata probing and stats
Each recipe begins with a concrete image task and shows an actual input, generated outputs, complete code, and the current verification boundary. The four interfaces implement the same product intent without assuming identical defaults or encoded bytes.
I/O and conversion
File I/O, compressed buffers, raw pixel memory, streaming I/O, and header-only metadata probing and stats. Format conversion · Streaming I/O · File I/O · Buffers and raw memory · Metadata probing and stats
Geometry and canvas
Compare fit, cover, shrink-on-load thumbnails, smart crop, border trimming, rotation, flips, and grid joins. Resize · Geometry basics · Thumbnails and shrink-on-load · Smart crop and trim · Rotation and affine transforms · Flips, canvas extension, and grid joins
Composition, masks, and text
Add text or logo watermarks and compare Over, Multiply, Dest-In masks, SVG vectors, and Pango text paths. Watermarks · Layer composition · SVG and text rendering · Alpha operations and premultiplication · Masks and regional filters
Pixels, colour, and enhancement
Work with channel math, brightness, saturation, hue, colour matrices, blur, USM sharpening, median filtering, and custom convolution. Channels and pixel math · Brightness, saturation, and hue · Image enhancement · Blur, USM sharpening, and convolution
Format encoders and special cases
Tune format encoders and handle animated strips, multi-page documents, tiled pyramids, and Ultra HDR gain maps. JPEG · PNG and palette quantization · WebP · AVIF and HEIF · Animated images (GIF/WebP) · Multi-page PDF and pyramidal TIFF · Deep Zoom · Ultra HDR gain maps
“Executed successfully” only means that the code completed on the recorded toolchain. Pixel equivalence, defaults, and encoded bytes depend on the comparison mode and differences documented on the page. See the version compatibility matrix for the baseline.