Image content components
These components accept an image/* MIME type. Common web and camera formats come first. Download a .wasm file and run it with qipx run, or use the recipe finder to connect compatible decoders, transforms, and encoders.
JPEG (image/jpeg) #
Related tool: strip JPEG location.
PNG (image/png) #
Related tools: convert to favicon and compress image.
WebP (image/webp) #
Related tools: convert WebP to PNG and convert to WebP.
SVG (image/svg+xml) #
svg-rasterize-skia-with-fonts-to-ktx2-r8g8b8a8-srgb.wasm uses Skia’s CPU renderer for antialiased SVG paths, gradients, masks, filters, and text. It reads multipart/related input with the SVG as the root and the fonts to use as later parts, such as Inter passed with -F. It returns RGBA8 sRGB KTX2.
svg-rasterize-thorvg-to-ktx2-r8g8b8a8-srgb.wasm uses ThorVG's CPU renderer for broader SVG paint support and antialiased RGBA8 sRGB KTX2 output. This build does not include fonts or embedded raster-image decoders.
svg-rasterize-to-ktx2-rgba32float-bt709-linear-simd.wasm uses SIMD scanline path coverage with a 4 by 4 sample grid and linear-light compositing, then writes linear BT.709 RGBA32F KTX2.
svg-rasterize-to-ktx2-r8g8b8a8-srgb-simd.wasm uses the same antialiasing path, then quantizes the completed image to canonical RGBA8 sRGB KTX2.
svg-rasterize-to-ktx2-r8g8b8a8-srgb.wasm provides the faster center-sampled baseline in canonical RGBA8 sRGB KTX2.
svg-rasterize-to-bmp-b8g8r8a8-srgb.wasm provides BMP output for stages that still require it.
svg-recolor-current-color.wasm replaces supported currentColor uses with a supplied color.
svg-text-to-path-skia-with-fonts.wasm replaces each <text> with a <path> of glyph outlines laid out by Skia, using only the TrueType, OpenType, WOFF, or WOFF2 fonts sent with the SVG as multipart/related parts. It keeps the rest of the SVG source unchanged.
svg-to-pdf-inter-font.wasm converts a strict SVG vector subset to single-page PDF/A-2b with complete embedded Inter Regular, Bold, Italic, and Bold Italic text. It preserves paths, groups, affine transforms, supported native gradients, and element/group opacity; unsupported SVG rejects rather than rasterizing.
svg-to-data-uri.wasm percent-encodes SVG bytes as a data URI.
Related tools: compare SVG rasterizers, encode SVG as data URI, QR code, and Open Graph image.
GIF (image/gif) #
AVIF (image/avif) #
Related tool: compress image.
JPEG XL (image/jxl) #
Related tool: compress image.
BMP (image/bmp) #
Color and size
Encode
Convert to KTX2
Related tools: extract color palette, convert to favicon, convert to WebP, and compress image.
KTX2 (image/ktx2) #
Generate
Resize
The components filter in linear light with premultiplied alpha. They expose
width and height uniforms, preserve aspect ratio when one dimension is
omitted, and recoverably reject the opposite scaling direction.
Rotate and flip
Both components accept rotation_degrees=0|90|180|270, flip_horizontal=0|1,
and flip_vertical=0|1. Rotation is clockwise and happens before either flip.
Related tool: resize image.
Decode and encode
Related tool: vectorize image.
Floating-point pipeline
JPEG 2000 (image/jp2) #
Looking for other components? See text, audio, TUI, and GUI.