Pixelforge

Image resizing and format conversion, done at request time.

One origin asset, any delivery shape. Pixelforge reads the transformation out of the request path, renders the derivative in memory, and streams it back with long-lived cache headers. No build step, no pre-generated variant folders to keep in sync.

Derivatives are keyed by their full path, so every distinct size, crop and format is cached independently once it has been requested a single time. Unused combinations cost nothing, and clearing a source clears all of its derivatives with it.

Request format
/rs:fit:800:600/q:82/plain/assets/photo-04.tiff@webp
  • rs — resize mode (fit, fill, crop) with target width and height
  • q — encoder quality from 1 to 100, optional
  • plain — the source path, then the output extension
800×600 · webp
640×640 · avif
1200×500 · webp
320×240 · jpeg
1024×768 · avif
96×96 · png

Flat colour stands in for rendered output on this page — the tiles above are drawn entirely in CSS.

Output formats

FormatExtensionNote
WebP @webp Default for photographic sources; lossy and lossless both supported.
AVIF @avif Smallest payloads at equal quality, at the cost of slower encoding.
JPEG / PNG @jpeg, @png Fallback targets for clients that advertise neither of the above.