Skip to content

Images: formats, pixel models and algorithms ​

A primary-source catalog for sparkles:{image,video}: how other ecosystems model pixels and views, decode and encode image formats safely, run image algorithms on SIMD and GPU compute, and move bytes from storage to the GPU. It exists to inform a design decision that is not yet made: whether the library is one package or splits into image-core, image-formats and image-algorithms. That decision follows the research and a round of experiments, not this page.

IMPORTANT

This tree is under construction. Wave 0 delivered the Sparkles baseline (what the repository already has or has specified), the papers and the hardware matrix. The master catalog lists every subject with its tier and the wave that delivers it; a subject is linked once its deep-dive exists.

Last reviewed: November 7, 2026

Questions this survey answers ​

  1. Pixel and memory model. Which representation of planes, strides, tiles, views and N-D extents serves both a viewer and a scientific pipeline, and does mir's Slice fit?
  2. Generic interfaces in D. Which mechanism (concepts, traits, type classes, design by introspection) carries pixel and image abstractions, and which cross-language ideas transfer?
  3. Generic algorithms that stay fast. Lazy ranges, algorithm/schedule separation, SIMD dispatch and GPU kernels: how do they compose?
  4. Codec architecture. What gives incremental, suspendable, hostile-input-safe decoding (Wuffs), and what must the sparkles:wired binary description format express?
  5. Colour, HDR and metadata. ICC, CICP, gain maps, EXIF and XMP: what is the minimum model?
  6. File to GPU. How do sparkles:event-horizon, io_uring/IoRing, Vulkan upload, GPU decompression and GPU texture formats fit together?
  7. SIMD versus GPU compute. Where is the break-even, and what is shared between the two kernel forms?
  8. Correctness. Oracles, conformance corpora, fuzzing and differential testing.
  9. Package boundaries. Evidence for or against a split into image-core, formats and algorithms.

Sparkles baseline ​

What the repository ships, specifies, drafts and plans in each area the image work touches. Every doc separates those four statuses, ends with gaps tagged by the questions above, and lists the open decisions for the design review.

AreaCoversLink
sparkles:wired and Flatwhat binary description can express today versus what image headers and codecs needBaseline
sparkles:event-horizonio_uring ops, offload pools, fibers; the file-to-GPU seam; I/O-bound and CPU-bound useBaseline
sparkles:vulkan and ui-vulkanbound commands and extensions, memory sub-allocator, the one upload pathBaseline
sparkles:shaders, math, host SIMDgraphics-only shaders, compute milestones, SIMD precedents and dispatchBaseline
Existing image code and consumersthe two PNG decoders, alpha conventions, terminal images, oracles, explorer templateBaseline

Papers ​

Seven annotated bibliographies. Each entry gives a claim, a verbatim quote checked against the paper's text, its relevance to Sparkles and its caveats; each thread ends with a synthesis. The PDFs live outside the repository, under ~/code/repos/papers/image-video/<thread>/.

ThreadCoversLink
DSLs and schedulingalgorithm/schedule separation, fusion and tiling, autoschedulers, hardware targetsPapers
Generic image programmingpixel and view concepts, N-D arrays, functional image modelsPapers
Resampling and colourreconstruction filters, compositing, colour appearance, HDR transfer, ICC, CICPPapers
Entropy coding and codecsANS and Huffman decoding speed, context modelling, JPEG XL, AV1, WebP, HEVCPapers
GPU texture compressionBCn, ETC2, ASTC, Basis/UASTC, KTX2, neural texture compressionPapers
Hostile input and safetyLangSec, verified parsers, fuzzing, image-codec exploit analyses, WuffsPapers
Storage-to-GPU and GPU decodeio_uring, DirectStorage/GDeflate, GPU Huffman/ANS/DEFLATE/JPEG, Vulkan VideoPapers

Hardware ​

What the machines available to this work expose, measured with one read-only probe: CPU SIMD, io_uring, Vulkan formats, Vulkan Video profiles, compute features and the platform media API. Every cell is verified on a device.

PageCoversLink
Hardware matrixAMD, NVIDIA and Intel Linux desktops, laptops and a server, an Apple M4 Max, Snapdragon 888 and 8 Elite phonesMatrix
Run the hardware probethe media-hw-probe flake app, for adding a machineContribute

Synthesis and experiments ​

PageCoversLink
Comparisonthe field at a glance, by dimension, its consensus and trade-offs, answers to Q1–Q9, delta to SparklesComparison
The Slice experimentmir's Slice as an image view, under dip1000, betterC, wasm32 and AndroidExperiment
The wired experimentPNG, QOI and ISOBMFF framing described in the Flat draft and in current sparkles:wiredExperiment
wired requirementsthe non-binding requirements IMW1–IMW25 the wired experiment yieldsRequirements
Conceptsthe shared vocabularyConcepts

Master catalog ​

The terms the deep-dives share (stride, view, plane, transfer function, suspendable decoding and the rest) are defined once in Concepts.

Every subject the survey covers, with the depth it gets. The tier is a working assignment, and any subject can be promoted or demoted:

  • Tier A is a full deep-dive: all ten analysis dimensions, verbatim quotes, and citations pinned to the cloned revision.
  • Tier B is a short deep-dive covering only the dimensions where the subject teaches something.
  • Tier C is a row in the Tier C digest with a paragraph, read from official documentation only. Closed-source subjects are always Tier C.

The Basis column is the revision a deep-dive reads, from sources.tsv, or docs where nothing is cloned. A subject without a link is not written yet; its wave says when it is due.

SubjectEcosystemClusterTierBasisWaveDoc
mir-algorithm (Slice, ndslice) and mir-coreDD landscapeAclone 2da2123821Deep-dive
dcvDD landscapeAclone c777e2aa91Deep-dive
color (TurkeyMan)DD landscapeAclone e9d31e4161Deep-dive
ae.utils.graphics (functional image processing)DD landscapeAclone 7870bc3cd1Deep-dive
gamutDD landscapeBclone 7f07b8ca32Deep-dive
arsd image modulesDD landscapeBclone 11491fa8b2Deep-dive
Dplug graphicsDD landscapeBclone f4a6d71ae2Deep-dive
intel-intrinsicsDD landscapeBclone 2141185c64Deep-dive
dcomputeDD landscapeBclone cdb5792d44Deep-dive
Boost.GIL (and its Adobe origin)C++Generic librariesAclone 97ed52cc01Deep-dive
VIGRAC++Generic librariesAclone de98f930b1Deep-dive
HalideC++ DSLGeneric librariesAclone 85f1618391Deep-dive
JuliaImages (ImageCore, ColorTypes)JuliaGeneric librariesAclone c3f8157041Deep-dive
ITKC++Generic librariesAclone 443d201c32Deep-dive
OpenCV (cv::Mat, UMat, HAL)C++Generic librariesAclone 96f8c07612Deep-dive
ImageSharpC#Generic librariesAclone b2b1ca9bd2Deep-dive
libvipsCGeneric librariesAclone b8242162f2Deep-dive
OpenImageIOC++Generic librariesAclone e7eb5d1092Deep-dive
image-rsRustGeneric librariesAclone 075e65d612Deep-dive
zune-imageRustGeneric librariesAclone 2f9086b072Deep-dive
Skia (SkPixmap, codecs, SkColorSpace)C++Generic librariesAclone 3ad790ab42Deep-dive
CImgC++Generic librariesBclone 38bb024de2Deep-dive
SAILCGeneric librariesBclone dccd2ebd52Deep-dive
stb_imageCGeneric librariesBclone 003501f6d2Deep-dive
Go image and x/imageGoGeneric librariesBclone b06f1de3f2Deep-dive
NumPy ndarray and the buffer protocol (PEP 3118)PythonGeneric librariesBclone b833c1b9b2Deep-dive
DLPackC ABIGeneric librariesBclone 94485e2352Deep-dive
GDAL, GeoTIFF and Cloud Optimized GeoTIFFC++Generic librariesBclone 739fcf03b4Deep-dive
ROS image_transport and cv_bridgeC++Generic librariesBclone faf0db2654Deep-dive
Open3D and PCLC++Generic librariesCclone b6c5e19634Digest
WuffsWuffs, CFormatsAclone 4be865da23Deep-dive
libpngCFormatsAclone 890812a283Deep-dive
libspngCFormatsAclone 46c81dc2b3Deep-dive
libjpeg-turboCFormatsAclone 7b49937863Deep-dive
libwebpCFormatsAclone 1844042d13Deep-dive
libjxlC++FormatsAclone e2948747f3Deep-dive
libavifCFormatsAclone 9b07a9d7a3Deep-dive
OpenEXRC++FormatsAclone b0460b2243Deep-dive
libheifC++FormatsBclone 12a259a583Deep-dive
libtiffCFormatsBclone d232499783Deep-dive
QOIspecFormatsCdocs3Digest
Little CMS 2CColourAclone 5546f1d684Deep-dive
OpenColorIOC++ColourBclone 22dd9c4fa4Deep-dive
ICC v4 and iccMAXspecColourBdocs4Deep-dive
CICP (ITU-T H.273)specColourBdocs4Deep-dive
Ultra HDR and ISO 21496-1 gain mapsspecColourBdocs4Deep-dive
ExifToolPerlMetadataBclone 2200871d93Deep-dive
Exiv2C++MetadataBclone be479c1b73Deep-dive
Simd (ermig1979)C++GPU and SIMDAclone 37dd130624Deep-dive
HighwayC++GPU and SIMDAclone 872f229914Deep-dive
KTX-Software (KTX2)C++GPU and SIMDAclone d9b1dd0904Deep-dive
basis_universalC++GPU and SIMDAclone ee771a7f94Deep-dive
libyuvC++GPU and SIMDBclone 205022c084Deep-dive
nvImageCodecC++, CUDAGPU and SIMDBclone e7a7ef0f54Deep-dive
glTF KHR_texture_basisu and texture extensionsspecGPU and SIMDBclone 1c84b58ba4Deep-dive
Filament and bgfx texture pipelinesC++GPU and SIMDBclone 4e2df5e244Deep-dive
Godot texture importC++GPU and SIMDBlocal clone4Deep-dive
Apple ImageIOclosedGPU and SIMDCdocs4Digest
Apple vImage (Accelerate)closedGPU and SIMDCdocs4Digest
Intel IPPclosedGPU and SIMDCdocs4Digest
Vulkan transfer and memory decompressionspecStorage to GPUAclone a8b088a3f4Deep-dive
DirectStorage and IoRingWindowsStorage to GPUBclone 32f9411bc4Deep-dive
io_uring registered buffers, O_DIRECT and dma-bufLinuxStorage to GPUBdocs4Deep-dive
GPUDirect Storage (cuFile)closedStorage to GPUCdocs4Digest
nvCOMP and GDeflateclosedStorage to GPUCdocs4Digest
Metal fast resource loading (MTLIOCommandQueue)closedStorage to GPUCdocs4Digest

Analysis spine ​

Every deep-dive covers the same ten dimensions, in this order, and says "not applicable, because …" where one does not apply:

  1. Pixel and memory model: layout, planes, strides, views, tiles, N-D extents.
  2. Genericity mechanism: concepts, traits, type classes, introspection.
  3. Colour and metadata: ICC, CICP, HDR, EXIF and XMP.
  4. I/O and codec architecture: push or pull, incremental, suspendable.
  5. Hostile input and safety: bounds, limits, fuzzing.
  6. Allocation and ownership.
  7. CPU parallelism and SIMD.
  8. GPU offload and interop.
  9. Temporal, animation and containers.
  10. Testing and conformance.

Waves ​

WaveDelivers
0the baseline, the papers and the hardware matrix (done)
1the D landscape and the generic-programming core; the Slice experiment (done)
2the generic and architectural libraries; the D Tier B subjects (done)
3Wuffs, the stills codecs and metadata; the wired experiment and its requirements (done)
4colour, SIMD, GPU textures and storage-to-GPU; the Tier C digest (done)
5concepts.md completed, the taxonomy, the milestones and comparison.md with its delta against the baseline (done)

Each wave ends with a verification pass by an agent that did not write the doc: every quote is re-read from the pinned clone, and ci check blob-paths runs before the commit.

Tier C digest ​

The Tier C digest covers Open3D and PCL, Apple ImageIO and vImage, Intel IPP, GPUDirect Storage, nvCOMP and GDeflate, Metal fast resource loading and QOI, from official documentation only.

Video subjects ​

Recorded here so the tiers can be reviewed together. They belong to the video catalog, written after this one, which reuses this page's concepts and spine.

SubjectTierBasis
FFmpeg (libavcodec, libavformat, libswscale)Aclone a23e09448
Vulkan VideoAclone a8b088a3f, 24398af37
dav1dAclone c6f51c881
libplaceboAclone 275f7dea2
GStreamer (with GES)Aclone e91b21950
ISOBMFF (MPEG reference and mp4parse-rust)Aclone 689ac096a, d3a9abfc9
Matroska and EBMLAclone 289c9625d, a4b3c4a88
mpv and libmpvBclone ad5877eda
AV1 specificationBclone 5e04f3f75
SVT-AV1Bclone a3ca29b7b
rav1eBclone 31435de9d
libaomBclone 60ce6c892
libvpxBclone fb0a26ad9
x264Bclone 0480cb05f
OpenH264Bclone 1bca62311
libvaBclone f052e984e
Intel VPLBclone 674d015bc
AMD AMFBclone 57ee0cfb0
MLTBclone eca4e32d2
OpenTimelineIOBclone 94e1ad6c9
NVIDIA Video Codec SDKCdocs, samples aa3544dce
VideoToolboxCdocs
Android MediaCodecCdocs
Media Foundation and D3D12 VideoCdocs
WebCodecsCdocs
libwebrtcCdocs (googlesource)
MPEG-TS and IVFCdocs
HLS and DASHCdocs
Blender VSECdocs

Taxonomy ​

The tables below re-cut the master catalog along eight axes, one table per axis. Each row is one normalised category; the labels come from the analysis spine of every deep-dive, read back against the section that states them. A subject appears in more than one row only when the deep-dive describes more than one first-class model, and the Note says which is primary. The Tier C digest contributes its subjects by name where its paragraph states the property. Grouping by category records what the field does; it does not rank the subjects or choose a model for Sparkles.

By pixel and memory model ​

CategorySubjectsNote
N-D strided array, one stride per axismir-algorithm, dcv, Halide, VIGRA, JuliaImages, NumPy, DLPack, OpenCV, GDAL, Open3DStrides in elements (mir, VIGRA, DLPack, Halide) or bytes (NumPy, OpenCV step); signed in VIGRA and DLPack. mir puts the contiguity kind in the type; NumPy, DLPack and OpenCV carry a run-time element type. GDAL's N-D strided form is its multidimensional API, beside the 2-D band model below
N-D dense, no stridesCImg, ITKCImg is a fixed 4-D (x, y, z, c) planar block; ITK adds physical geometry (origin, spacing, direction) and three regions over one contiguous buffer
2-D interleaved view with a byte row strideBoost.GIL, Go image, Skia, Simd, Dplug graphics, Gamut, ae.utils.graphics, libvips, OpenImageIO, SAIL, ROS image_transport, OpenColorIO, Little CMS 2, vImage, Intel IPPThe common viewer model: base pointer, extents and stride. Boost.GIL also has planar and packed views; Gamut's pitch is signed and adds a layer axis; OpenImageIO adds data and display windows; Little CMS 2 takes the strides as call arguments rather than a view type
Multi-planar, per-plane stride and subsamplingWuffs, libavif, libheif, libyuv, nvImageCodec, OpenEXR, libwebp, libjpeg-turbo, zune-imageThe YCbCr-first model (planes, chroma subsampling). Wuffs carries up to four planes; OpenEXR's planes are named channels; libwebp, libjpeg-turbo and zune-image expose raw planes beside an interleaved output; Go image and Skia have a separate YCbCr or YUVA family
Planar dense channelszune-image, libjxl, Highwayzune-image's Image layer is one dense buffer per channel; libjxl's internal planes are padded and aligned while its API is interleaved; Highway's contrib/image is a planar padded-row image
Packed contiguous buffer, no stridestb_image, libspng, arsd image modules, image-rs, Godot texture import, glTF textures, QOIWidth × height × channels with no padding. image-rs keeps a strided FlatSamples as a separate type
Row-addressed or segmented 2-Dlibpng, libjpeg-turbo, ImageSharplibpng and libjpeg-turbo write rows through caller row pointers; ImageSharp's rows live in a group of discontiguous aligned buffers
Tiled or chunked storage behind the viewlibtiff, OpenEXR, GDAL, OpenImageIO, VIGRA, libvipsTiling of the file or cache, not of the in-memory view: libtiff striles, OpenEXR chunks and deep data, GDAL block-cached bands, OpenImageIO's ImageCache, VIGRA's chunked store, libvips' lazy regions
GPU texture layout (levels, layers, blocks)KTX-Software, Basis Universal, Filament and bgfx, Godot texture import, glTF textures, Vulkan transfer, DirectStorage and IoRingMip levels, layers and faces of block-compressed texels; Vulkan's device side is opaque optimal tiling, DirectStorage uses D3D12 copyable footprints
Element or descriptor only, no imagecolor, intel-intrinsics, dcompute, gain maps, CICP, ICC v4 and iccMAX, ExifTool, Exiv2, io_uring storage, ImageIOcolor models one pixel struct; dcompute passes raw address-space pointers; gain maps bind two images by metadata; ImageIO hands out an opaque CGImage; the rest are specifications, metadata or I/O with no pixel model

By genericity mechanism ​

CategorySubjectsNote
D templates with design by introspectionae.utils.graphics, mir-algorithm, dcv, color, intel-intrinsics, dcompute, Dplug graphicsDesign by introspection: structural constraints and static if on optional primitives. dcv specialises on Slice kind without capability traits; Dplug uses traits at the leaves and run-time classes on the hot path
C++ templates with concepts, traits, tag dispatchBoost.GIL, VIGRA, CImg, ITK, HighwayConcepts, traits and tag dispatch. ITK is templated inside a filter and virtual outside it; Highway's descriptor is a zero-sized tag plus a preprocessor pass per target
Trait or type-class polymorphismimage-rs, zune-image, ImageSharp, JuliaImagesRust traits with associated types, C# static abstract members, Julia multiple dispatch with Holy traits. image-rs and zune-image pair them with a closed run-time enum (type erasure)
Staged DSL specialised per targetHalideHalide compiles a pipeline per target from an algorithm and schedule; its ABI carries a run-time type tag per buffer
Run-time tag with C function tablesWuffs, libjpeg-turbo, libwebp, libavif, libheif, libtiff, libjxl, OpenEXR, Skia, Little CMS 2, KTX-Software, SAIL, Gamut, GDAL, nvImageCodec, Basis Universal, Filament and bgfx, Godot texture importThe codec norm: an enum or descriptor selects function pointers or a plugin vtable. Wuffs, though written in its own memory-safe language, exposes interfaces as C vtables and resolves a run-time pixel-format word to a function pointer; libjpeg-turbo also monomorphises by preprocessor per sample width; libjxl uses Highway templates for SIMD only
Run-time type descriptor for interchangeNumPy, DLPack, OpenCV, OpenImageIO, libvips, ROS image_transport, Vulkan transferA value describes the element type (descr, code/bits/lanes, CV_8UC3, TypeDesc, an encoding string, a VkFormat with pNext chains); OpenCV and OpenImageIO switch to templates inside algorithms
Object hierarchy and virtual dispatcharsd image modules, Go image, OpenColorIO, Exiv2Interfaces or class trees; Go's closed type switches are generated by gen.go; OpenColorIO optimises a run-time transform graph
Data-driven tables interpreted at run timeExifTool, Exiv2Tag tables as data (Perl hashes with code strings; constexpr tables in Exiv2)
Preprocessor only, or nonelibpng, libspng, stb_image, libyuv, Simd, vImage, Intel IPPFormat and sample type spelled in the function name or chosen by macro; Simd copies a kernel per instruction set
Not applicableCICP, ICC v4 and iccMAX, gain maps, glTF textures, io_uring storage, DirectStorage and IoRingSpecifications and I/O interfaces

By decode shape ​

CategorySubjectsNote
Suspendable at any byte (coroutines)WuffsSuspendable by construction: coroutine state lives in the decoder, input and output are caller buffers
Push-fed, resumes from saved statelibjxl, libpng, libwebp, ae.utils.graphics, ImageIOPush: libjxl suspends at section boundaries, libpng's progressive reader per row and Adam7 pass, libwebp by checkpoint and replay; ae-graphics feeds libpng's progressive reader; ImageIO takes all accumulated bytes on each update and may re-parse them
Pull, retried when input runs shortlibjpeg-turbo, libavif, zune-imageA suspending source returns "no data" and the call is repeated: libjpeg-turbo restarts the current MCU, libavif returns AVIF_RESULT_WAITING_ON_IO, zune-image retries JPEG from a checkpoint
Pull, row or chunk incremental, blockinglibspng, Skia, Boost.GIL, VIGRA, SAILRows or frames arrive in order from a blocking reader; Skia's incremental decode is a re-call at row granularity for some codecs; SAIL decodes frame by frame
Pull, random access by tile, strip or regionlibtiff, OpenEXR, GDAL, OpenImageIO, ITK, libvips, libheif, ExifTool, Exiv2The reader seeks to the unit it needs: libtiff striles, OpenEXR chunks, GDAL blocks, ITK requested regions, libvips demand-driven regions, libheif byte-range hints for tiles
Pull, whole filestb_image, image-rs, ImageSharp, Go image, Gamut, CImg, arsd image modules, OpenCV, Simd, KTX-Software, Basis Universal, Filament and bgfx, Godot texture import, JuliaImages, dcv, Dplug graphics, QOIHeader and pixels may be split (Go's DecodeConfig, image-rs' decoder protocol, OpenCV's readHeader/readData), but the pixels arrive in one call. dcv and Dplug graphics delegate to Gamut
Batched asynchronous queuenvImageCodec, DirectStorage and IoRing, GPUDirect Storage, nvCOMP, Metal fast resource loadingRequests are queued, completed out of band and often decompressed on the GPU
External processae.utils.graphics, CImgImageMagick or FFmpeg as a subprocess decoder (CImg as a fallback)
Not applicablemir-algorithm, Halide, Highway, color, intel-intrinsics, dcompute, NumPy, DLPack, libyuv, OpenColorIO, Little CMS 2, ICC v4 and iccMAX, CICP, gain maps, glTF textures, Vulkan transfer, io_uring storage, ROS image_transportNo codec of its own. ROS delivers one whole frame per message through a transport plugin

By hostile-input limits ​

CategorySubjectsNote
Caller-set limits per decoderlibheif, libavif, image-rs, libspng, libpng, zune-image, OpenEXR, libjpeg-turbo, ImageSharp, libtiff, SkiaThe hostile input defence as an API. libheif adds work budgets and memory accounting to a versioned struct; libavif caps pixels, dimensions and image count; image-rs' max_alloc is best-effort; libspng's limits default open; libjpeg-turbo's are opt-in through TurboJPEG; libtiff's allocation caps default to unlimited; Skia's fMaxDecodeMemory is honoured by few paths
Process-wide settingsOpenCV, OpenImageIO, libvips, GDALEnvironment variables or global attributes; libvips also blocks untrusted loaders; GDAL bounds caches and band count and leaves pixel budgets to the caller
Fixed library capsWuffs, stb_image, libjxl, libwebp, CImg, Gamut, Simd, Godot texture import, Basis Universal, Halide, arsd image modules, Little CMS 2, ICC v4 and iccMAX, Exiv2, ExifTool, Filament and bgfx, QOICompile-time or built-in constants. Wuffs' limits are structural (24-bit dimensions, an exact work-buffer length, fixed arrays); libjxl scales its built-in limits to the declared pixel count; Godot's checks are themselves overflowing
Bounds and overflow checks onlyGo image, SAIL, ITK, KTX-Software, nvImageCodec, dcvGo's contract is that the caller checks DecodeConfig first; dcv inherits Gamut's dimension caps
Platform or kernel limitsio_uring storage, DirectStorage and IoRing, Vulkan transfer, nvCOMPRLIMIT_MEMLOCK and the per-buffer registration cap, staging and queue sizes, Vulkan valid usage enforced only by validation layers, chunk-size maxima
Noneae.utils.graphics, Boost.GIL, VIGRA, JuliaImages, mir-algorithm, Dplug graphics, libyuv, NumPy, DLPack, Highway, intel-intrinsics, dcompute, glTF textures, ROS image_transport, OpenColorIOlibyuv takes no buffer lengths at all; JuliaImages has libpng's compiled-in defaults only; ROS inherits OpenCV's; OpenColorIO has fixed LUT-size limits in its parsers only
Not applicableCICP, color, gain mapsGain-map metadata validation lives in the implementations (libavif, libultrahdr)

By SIMD strategy ​

CategorySubjectsNote
Portable SIMD library, run-time dispatchHighway, libjxl, libvips, OpenCV, SkiaOne source compiled per target, selected by run-time CPU dispatch. libjxl and libvips use Highway; OpenCV's universal intrinsics; Skia compiles portable source per target namespace behind three dispatchers
Portable SIMD library, compile-time selectionintel-intrinsics, Dplug graphics, Gamut, OpenImageIOIntel's intrinsic API in D for any LDC or GDC target, chosen by the build; OpenImageIO's simd.h wrapper, with an optional static Highway that is off by default
Hand-written per ISA, run-time dispatchlibjpeg-turbo, libwebp, libyuv, Simd, zune-image, Wuffs, ImageSharp, OpenColorIO, OpenEXR, Little CMS 2, ICC v4 and iccMAX, Go image, Intel IPPIntrinsics or assembly per target behind a CPU check. Wuffs chooses in-language (choose cpu_arch); ImageSharp's IsSupported branches fold under the JIT; OpenEXR mixes compile-time and run-time; Little CMS 2 only in its fast_float plug-in; ICC through skcms; Go only in x/image/vector
Hand-written per ISA, compile-time selectionlibpng, libspng, stb_image, GDAL, Basis UniversalChosen by compiler flags; libpng 1.6 has partial run-time checks; libspng applies target_clones to one function; Basis Universal's hand SIMD is in the encoder
Generated from a scheduleHalideVector code per target from the schedule, with multi-target ahead-of-time builds dispatched at run time
Auto-vectorisation onlymir-algorithm, dcv, ae.utils.graphics, VIGRA, ITK, CImg, JuliaImages, vImageAuto-vectorisation by LLVM or the C++ compiler (mir's @fmamath, dcv's @fastmath on LDC); vImage vectorises internally and exposes no SIMD
Delegated to dependenciesimage-rs, libavif, libheif, libtiff, SAIL, Filament and bgfx, nvImageCodecThe codec libraries underneath carry the SIMD (dav1d, libyuv, libsharpyuv, libswscale)
Nonearsd image modules, Boost.GIL, color, KTX-Software, Exiv2, dcompute, gain maps, DirectStorage and IoRingScalar code. Gain maps' reference loop is scalar (libultrahdr uses a LUT); DirectStorage's CPU GDeflate decoder is thread-parallel across tiles
Not stated or not applicableGodot texture import, ROS image_transport, NumPy, CICP, glTF textures, io_uring storage, Vulkan transfer, DLPack, ExifToolThe deep-dive reports no CPU kernel of the subject's own

By GPU interop ​

CategorySubjectsNote
Vulkan upload and importVulkan transfer, KTX-Software, io_uring storage, Godot texture importStaging, host image copy, external memory from host pointers and dma-buf with DRM format modifiers; KTX-Software uploads levels into a VkImage; Godot compresses with compute (betsy) through RenderingDevice
Several graphics back ends, upload onlySkia, Filament and bgfxGanesh and Graphite in Skia; engine back ends in Filament and bgfx; no GPU decompression
GPU compute kernels from one sourceHalide, OpenCV, OpenColorIO, dcompute, ITK, Basis Universal, gain mapsHalide targets CUDA, OpenCL, Metal, D3D12, Vulkan and WebGPU; OpenCV's OpenCL transparent API; OpenColorIO generates shader text; dcompute targets OpenCL and CUDA; ITK's OpenCL module; Basis Universal's OpenCL encoder; gain maps applied in a Skia runtime effect or libultrahdr's GLES path
CUDA decode and storage pathsnvImageCodec, GPUDirect Storage, nvCOMP, Open3DBatched CUDA decode, DMA from storage into GPU memory, batched GPU decompression, device tensors
Storage-to-GPU decompressionDirectStorage and IoRing, Vulkan transfer, nvCOMP, Metal fast resource loadingGPU decompression of GDeflate in HLSL, through VK_NV_memory_decompression and VK_EXT_memory_decompression, or in CUDA; Metal IO command queues load compressed packs into textures
Device-tagged descriptor onlyDLPackNames CUDA, ROCm, OpenCL, Vulkan, Metal and others as devices; streams are defined for CUDA and ROCm only
Maps onto GPU state, no codeCICP, glTF texturesCICP values map onto Vulkan's sampler YCbCr conversion and swapchain colour spaces; glTF targets GPU block formats through KTX2
Noneae.utils.graphics, arsd image modules, Boost.GIL, CImg, color, dcv, Dplug graphics, Gamut, mir-algorithm, VIGRA, JuliaImages, Highway, intel-intrinsics, Simd, libyuv, Go image, image-rs, ImageSharp, zune-image, GDAL, NumPy, ROS image_transport, Wuffs, libpng, libspng, stb_image, libjpeg-turbo, libwebp, libjxl, libavif, libheif, libtiff, OpenEXR, OpenImageIO, libvips, SAIL, Little CMS 2, ICC v4 and iccMAX, ExifTool, Exiv2, ImageIO, vImage, Intel IPP, QOIAll stills codecs, the colour libraries, the CPU libraries and the D landscape apart from dcompute; dcv uses OpenGL for display only, zune-image offloads HEVC decode to VideoToolbox only, OpenImageIO has CUDA-annotated description types only

By colour management ​

CategorySubjectsNote
ICC colour management appliedLittle CMS 2, ICC v4 and iccMAX, Skia, libvips, ImageSharp, libjxlA colour management module transforms through the profile connection space. Skia applies skcms at decode and adds CICP, PQ, HLG and gain maps; libvips calls Little CMS 2; ImageSharp converts ICC to sRGB; libjxl's CMS sits behind a function table
Config-driven colour pipelinesOpenColorIO, OpenImageIOColour spaces and transforms come from a configuration file; OpenImageIO adds CICP, ICC blobs and Color Interop Forum identifiers
CICP as the primary tagCICP, libavif, libheif, image-rs, zune-image, gain mapsCICP values drive conversion; ICC is carried as bytes. image-rs maps ICC to CICP through moxcms; zune-image delegates its CMS to moxcms; gain maps need CICP or ICC to linearise and add a metadata record
Colour space in the element typecolor, JuliaImages, VIGRAThe pixel type names its space (color's template parameters, JuliaImages' Colorant hierarchy, VIGRA's element types with conversion functors); color's set of spaces is a closed enum
Texture or container descriptorKTX-Software, Basis Universal, glTF textures, Filament and bgfx, Vulkan transfer, OpenEXR, QOIA Data Format Descriptor, an sRGB bit or format suffix, a sampler YCbCr conversion, OpenEXR's chromaticities and colorInteropID, QOI's two-value colour-space byte
YCbCr matrix and range onlylibyuv, Simd, dcv, libwebpMatrix coefficients and range as fixed tables; libwebp is fixed to BT.601 limited range and passes ICC through
Carried, not appliedWuffs, libpng, libspng, libjpeg-turbo, libtiff, GDAL, Exiv2, ExifTool, OpenCV, Boost.GIL, SAIL, nvImageCodec, ImageIO, vImageICC and CICP bytes reported or passed through. libpng applies power-law gamma only; libspng a fixed 2.2 gamma table; Wuffs reports CICP, gamma, chromaticities and ICC ranges; ImageIO and vImage tag images with named colour spaces
Noneae.utils.graphics, arsd image modules, CImg, Gamut, Go image, Godot texture import, Halide, Highway, intel-intrinsics, ITK, mir-algorithm, NumPy, DLPack, dcompute, Dplug graphics, stb_image, ROS image_transport, DirectStorage and IoRing, io_uring storageae-graphics has one sRGB gamma ramp; Dplug assumes sRGB with a gamma-2 approximation

By fuzzing ​

CategorySubjectsNote
OSS-Fuzz and in-tree harnessesWuffs, libjxl, libavif, libjpeg-turbo, libspng, libtiff, libvips, libwebp, OpenEXR, Little CMS 2, Simd, Exiv2, stb_image, libpng, Skia, GDALOSS-Fuzz runs coverage-guided harnesses kept in the tree. libavif's FuzzTest targets also run in CI; libspng adds CIFuzz; libpng's harnesses exist on the 1.6 branch only; Skia's live under fuzz/oss_fuzz/; GDAL's per-format harnesses feed /vsimem/
OSS-Fuzz recipes outside the projectOpenCVThe imdecode, imread and core fuzzers are recipes in the OSS-Fuzz repository, cloning OpenCV's default branch
In-tree harness run outside OSS-Fuzzlibheif, zune-image, OpenImageIO, image-rs, Go image, Halide, gain maps, ICC v4 and iccMAXlibheif runs its libFuzzer targets on pull requests through CIFuzz with a ClusterFuzz-derived corpus; zune-image per change and nightly; OpenImageIO nightly; image-rs' cargo-fuzz targets are not run in CI; Halide fuzzes its own bounds and simplifier reasoning; ICC through Little CMS 2's harness
Fuzz-found inputs only, or sanitizers onlyImageSharp, SAIL, Basis Universal, DirectStorage and IoRingImageSharp keeps regression images found by others' fuzzing; SAIL runs sanitizers in CI; Basis Universal has randomised self-tests; DirectStorage has an adversarial manifest for its GPU zstd decoder only
Noneae.utils.graphics, arsd image modules, color, dcv, Dplug graphics, Gamut, mir-algorithm, intel-intrinsics, dcompute, Boost.GIL, VIGRA, CImg, ITK, JuliaImages, Highway, libyuv, DLPack, NumPy, ROS image_transport, nvImageCodec, OpenColorIO, ExifTool, KTX-Software, Filament and bgfx, Godot texture import, glTF textures, CICP, Vulkan transfer, io_uring storageNo harness in the tree or on OSS-Fuzz; NumPy and ROS are listed because their deep-dives state none for the parts read. The Tier C digest states none for its subjects

Milestones ​

When the capabilities and failures that shaped the field landed, in date order, as the deep-dives record them. A date is as precise as its deep-dive: a day where a commit, release note or advisory gives one, otherwise a month or a year. c. marks a date the deep-dive gives only approximately; a date followed by CVE year is the year in the identifier, not a disclosure date. Revisions read for this survey are not events and are left out; each deep-dive's metadata table records its own.

DateSubjectEvent
1988libtiffThe reference TIFF library is maintained from this year on
c. late 1990sVIGRAThe 2-D ImageIterator/accessor design is built, before the N-D array views that replaced it
2001-04ICC v4 and iccMAXICC.1:2001-04, the last specification of profile version 2
2003SAILksquirrel-libs, SAIL's predecessor codec set for the KSquirrel viewer, is founded
2004ICC v4 and iccMAXICC.1:2004 defines profile version 4 (ISO 15076-1): mAB /mBA , parametric curves, a required chad
2005NumPyThe array interface (__array_interface__) is created
2006OpenEXRThe earliest of the 88 CVEs that CHANGES.md cites
2006-01-05Boost.GILASL 1.0.12 adds GIL to the Adobe Source Libraries; the tutorial and design guide follow on January 16
c. late 2006Boost.GILGIL is accepted into Boost
2007-04-05Boost.GILASL 1.0.26 ships GIL 2.0
2008-03-29Boost.GILBoost 1.35.0, the first Boost release with GIL
2009 (CVE year)Little CMS 2CVE-2009-0723: integer overflows in lcms 1.x
2010-11-04Boost.GILASL 1.0.43 removes GIL in favour of the Boost copy
2011Boost.GILThe I/O v2 extension is accepted into Boost (shipped in 1.68)
2012HalideRagan-Kelley et al. publish the separation of algorithm and schedule
2012VIGRAKöthe's IPOL retrospective reports array views more convenient than hierarchical iterators for implementers
2013HalideThe second paper adds compute_at and store_at, the two knobs of fusion and storage folding
2013 (CVE year)libjpeg-turboCVE-2013-6629: get_sos leaks uninitialised memory through duplicate component identifiers in a scan
2014-03-18ae.utils.graphics"[BREAKING] Overhaul": views, isView, Warp and Image!COLOR replace the canvas design
2014-03-21ae.utils.graphicsparallel lands and the article Functional image processing in D is published the same day
2014-12-26ae.utils.graphicsim_convert makes ImageMagick the general decoder
2015-01-06colordlang/phobos#2845, "Added std.experimental.color", is opened
2015-06-24colorInitial commit of TurkeyMan/color; color 0.0.1 on the registry the same day
2016CICPITU-T H.273 is published as twin text with ISO/IEC 23001-8:2016
2016HalideMullapudi et al.'s autoscheduler: greedy grouping over bounds analysis
2016libjpeg-turboCommander and Markham report two resource-exhaustion scenarios that stem from the JPEG format itself
2016 (CVE year)Little CMS 2CVE-2016-10165: out-of-bounds read in Type_MLU_Read
2016-01dcvdcv is started; 546 of its 798 commits land in 2016
2017-08-06colorThe Phobos pull request closes unmerged after 160 comments and 273 review comments
2018HalideLi et al. (gradient Halide) add a conservative autoscheduler
2018 (CVE year)Little CMS 2CVE-2018-16435: integer overflow in the CGATS parser's AllocateDataSet
2018-02WuffsWuffs fuzzing starts on OSS-Fuzz
2019CICPAfter the ISO split, H.273 is aligned with ISO/IEC 23091-2:2019
2019HalideAdams et al.: beam search over loop nests with a learned cost model
2019-01-03ae.utils.graphicsviewBMP: a BMP file becomes a zero-copy direct view; a libpng binding follows on January 9
2019-04image-rsA published advisory documents an allocation-reinterpretation soundness bug and its removal
2019-11WuffsThe fuzzing note records that OSS-Fuzz has found no memory-safety bug in Wuffs
2020gain mapsiPhone HEIC and JPEG files carry a gain map with headroom in Apple maker-note EXIF tags 33 and 48
2020 (CVE year)libavifCVE-2020-36407: out-of-bounds write in grid assembly (0.8.0 and 0.8.1), found by OSS-Fuzz
2020-03-30ae.utils.graphics"[BREAKING]" 1-bit colours: scanline returns storage units rather than colours
2020-04-14colorv0.0.9, the last tag
2020-06libspngEleven OSS-Fuzz issues against development commits are published in OSV (June and July)
c. 2020–2021OpenEXRAn OSS-Fuzz wave against the C++ library (for example CVE-2021-3474) precedes the C core rewrite
2021Go imageGo 1.17 adds RGBA64Image so per-pixel access need not allocate a color.Color
2021HalideAnderson et al. extend beam search to GPU schedules
2021 (CVE year)libjxlCVE-2021-22564: out-of-order group decoding copies out of bounds at the right and bottom edges
2021-06WuffsThe Wuffs GIF decoder ships in Chrome (M93)
2021-07-22OpenEXR3.1.0 introduces OpenEXRCore, a thread-safe, non-blocking C core
2022Vulkan transferVK_NV_memory_decompression (extension 428) brings GDeflate decompression to Vulkan
2022dcomputeCommit af45dfa6 adds OpenCL image I/O, the library's only image support
2022ICC v4 and iccMAXICC.1:2022 (v4.4) adds the cicp tag "to enable HDR metadata to be carried in the profile", metadataTag and the strict tag-table rule
2022-01dcvdcv is revived ("dcv revision 2022") with a @nogc memory model
2022-01-05QOIQOI specification version 1.0
2022-12-25glTF texturesLast head of the EXT_texture_avif draft pull request, which stays unmerged
2023ICC v4 and iccMAXICC.2:2023, iccMAX (profile version 5): spectral PCS and a programmable transform calculator
2023 (CVE year)libjpeg-turboCVE-2023-2804: heap overflow in merged upsampling of out-of-range 12-bit lossless samples
2023 (CVE year)SkiaThe same VP8L exploit reaches Chrome through libwebp
2023-01stb_image2.28: "many error fixes, security errors"
2023-04Wuffsv0.3, still the latest stable release at the revision read
2023-07stb_imageGitHub Security Lab reports seven memory-safety bugs privately; with no reply, it publishes GHSL-2023-145 to 151 in October
2023-09-07libwebpCommit 902bc91, "Fix OOB write in BuildHuffmanTable", fixes CVE-2023-4863, exploited in the wild
2023-09-21libwebpBen Hawkes' analysis The WebP 0day argues coverage-guided fuzzing was very unlikely to find the bug
2024libwebpRFC 9649 standardises the WebP image format
2024gain mapsWWDC24 announces the iOS 18 move to Adaptive HDR gain maps, read as ISO 21496-1 from the API key's name
2024-01-01arsd image modulesThe repository starts targeting the OpenD dialect
2024-05stb_image2.30, the latest version line
2024-05-28dcvLast commit, version 0.4.0
2024-07CICPH.273 (07/24), the edition in force
2024-09-30OpenEXR3.3.0: the C++ API reads and writes through the C core
2025Vulkan transferVK_EXT_memory_decompression (extension 551) is ratified
2025libwebpClang -fbounds-safety annotations reach the decoder and utilities
2025 (CVE year)libavifCVE-2025-48174 (makeRoom integer overflow) and CVE-2025-48175 (RGBToYUV multiplication overflows), fixed by 1.3.0
2025 (CVE year)OpenEXRCVE-2025-48071: a file's size field sizes an output buffer without checking the decoder's actual output
2025-06-12dcomputev0.1.1, the last tagged release; development resumes untagged (BindBC CUDA back end, UnifiedBuffer)
2025-11-21libpng1.6.51 opens a run of twelve CVE fixes that ends with 1.6.59
2026libheif"89 security advisories had to be investigated, fixed and released in 2026 alone", by one maintainer
2026OpenEXR38 of the cited CVEs date from 2026, among them the ILP32 group fixed in 3.4.14
2026Basis UniversalXUASTC LDR and XUBC7 join the supercompressed intermediate formats
2026 (CVE year)libjpeg-turboCVE-2026-75466: division by zero in the PNG loader of tj3LoadImage*, fixed in 3.2.1
2026-07-01libjxl0.12.0: 29 hardening pull requests and out-of-order jxlp boxes
2026-09-28libpng1.6.59, the last of the twelve CVE fixes
2026-11-10libspngUpstream adds state checks to spng_decode_scanline; a duplicate-PLTE check follows on November 13

Reading paths ​

Sources ​

  • The five baseline documents above, which cite the specifications and source files they were read from.
  • The seven paper threads above, which cite each paper by DOI or arXiv identifier.
  • The four hardware reports, produced by the probe at the commit the matrix names.
  • The deep-dives in the master catalog, each pinned to the revision in sources.tsv, and the Tier C digest from official documentation.