zimg
brew install zimg
v3.0.6
WTFPL
C++17 shared library for high-performance image scaling, colorspace conversion, and depth dithering.
Why you might care
zimg is a low-level, thread-safe image processing library designed for correctness and flexibility, used as a backend by video processing tools (FFmpeg, VapourSynth). It cleanly separates allocation and I/O from processing, making it easy to integrate into custom pipelines without opinionated buffering strategies.
5.6k
30-day installs · #553
19.1k
90-day · #542
276.5k
365-day · #229
469
★ GitHub stars · updated 5d ago
Build dependencies
Links
- https://github.com/sekrit-twc/zimg
- GitHub: sekrit-twc/zimg
- Brew formula source: Formula/z/zimg.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"ImageMagick",
"libvips",
"OpenCV"
],
"build_dependencies": [
"autoconf",
"automake",
"libtool"
],
"categories": [
"library",
"image-tool"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Scaling, colorspace conversion, and dithering library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:57+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "zimg",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-15T14:18:55Z",
"github_readme_excerpt": "z.lib\n======\nThe \"z\" library implements the commonly required image processing basics of\nscaling, colorspace conversion, and depth conversion. A simple API enables\nconversion between any supported formats to operate with minimal knowledge\nfrom the programmer. All library routines were designed from the ground-up\nwith correctness, flexibility, and thread-safety as first priorities.\nAllocation, buffering, and I/O are cleanly separated from processing, allowing\nthe programmer to adapt \"z\" to many scenarios.\n\nRequirements\n-----\n- Byte-addressable architecture\n- Two\u0027s complement integer encoding\n- 32-bit or greater machine word\n- C++17 compiler\n- Platforms: Microsoft Windows, POSIX\n\nBuilding\n-----\nThe officially supported build system is GNU autotools. Use the provided\n\"autogen.sh\" script to instantiate the familiar \"configure\" and \"make\" build\nsystem. Visual Studio project files are not stable and are subject to change.\nDownload all submodules before compiling by `git submodule update --init\n--recursive`.\n\nCapabilities\n-----\n### Colorspace\n\nColorspaces: SMPTE-C (NTSC), Rec.709, Rec.2020\n\nThe colorspace module provides for conversion between any combination of\ncolorspaces, as defined by the commonly used triplet of matrix coefficients,\ntransfer characteristics, and color primaries. Conversions are implemented\nwith intelligent logic that minimizes the number of intermediate\nrepresentations required for common scenarios, such as conversion between\nYCbCr and RGB. Support is also provided for the non-traditional YCbCr system\nof ITU-R BT.2020 constant luminance (CL), which retains higher fidelity with\nchroma subsampling. Note that \"z\" is not a color management system and should\nnot be used to perform drastic contrast or gamut reduction, such as BT.2020\nto BT.709.\n\n### Depth\n\nFormats: BYTE, WORD, HALF, FLOAT\n\nThe depth module provides for conversion between any pixel (number) format,\nincluding one and two-byte integer formats as well as IEEE-754 binary16\n(OpenEXR) and binary32",
"github_repo": "sekrit-twc/zimg",
"github_stars": 469,
"github_topics": [],
"homepage": "https://github.com/sekrit-twc/zimg",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 5632,
"installs_365d": 276527,
"installs_90d": 19136,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "WTFPL",
"llm_generated_at": "2026-06-20T23:45:36+00:00",
"llm_model": "claude-haiku-4-5",
"name": "zimg",
"oldnames": [],
"one_liner": "C++17 shared library for high-performance image scaling, colorspace conversion, and depth dithering.",
"optional_dependencies": [],
"rank_30d": 553,
"rank_365d": 229,
"rank_90d": 542,
"raw_hash": "adfcb776add6d7f3",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/z/zimg.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "3.0.6",
"versioned_formulae": [],
"why_use_this": "zimg is a low-level, thread-safe image processing library designed for correctness and flexibility, used as a backend by video processing tools (FFmpeg, VapourSynth). It cleanly separates allocation and I/O from processing, making it easy to integrate into custom pipelines without opinionated buffering strategies."
}