arrufat/zignal
Tentang
zero-dependency image processing library
Desain dan mediaYang dapat Anda lakukan
- Images: pure-Zig PNG, JPEG, BMP and GIF codecs, geometric transforms, filters, color spaces, enhancement and drawing with an antialiased canvas, bitmap and vector fonts, and terminal graphics.
- Vision: feature detection and matching, edge detection, Hough transform, QR codes, style transfer and quality metrics.
- Math: matrices and decompositions, geometry, statistics, PCA, global optimization and clustering.
- Parallelism: heavy operations run on a thread pool through std.Io and give byte-identical results when run serially.
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliZignal
Zignal is a zero-dependency image processing library inspired by dlib.
Features
Zignal covers the building blocks of an image processing pipeline in a single dependency:
- Images: pure-Zig PNG, JPEG, BMP and GIF codecs, geometric transforms, filters, color spaces, enhancement and drawing with an antialiased canvas, bitmap and vector fonts, and terminal graphics.
- Vision: feature detection and matching, edge detection, Hough transform, QR codes, style transfer and quality metrics.
- Math: matrices and decompositions, geometry, statistics, PCA, global optimization and clustering.
- Parallelism: heavy operations run on a thread pool through
std.Ioand give byte-identical results when run serially. - Platforms: native Zig, Python bindings and WASM for the web.
See the documentation for the full API.
Status
Zignal is under active development and the API continues to evolve. Expect occasional breaking changes between minor releases.

Installation
Zig
zig fetch --save git+https://github.com/arrufat/zignal
Then, in your build.zig
const zignal = b.dependency("zignal", .{ .target = target, .optimize = optimize });
// And assuming that your b.addExecutable `exe`:
exe.root_module.addImport("zignal", zignal.module("zignal"));
// If you're creating a `module` using b.createModule, then:
module.addImport("zignal", zignal.module("zignal"));
Python
pip install zignal-processing
Requires Python 3.11+, no external dependencies

Bindings | PyPI Package | Documentation
CLI
Zignal includes a command-line interface to display images in the terminal, inspect them, resize, blur, detect edges, tile them into a grid, apply style transfer, encode and decode QR codes, compare them with visual diffs and quality metrics, and chain operations into pipelines.
# Build the CLI
zig build
# List the available commands
zig-out/bin/zignal help
# Show the options of a specific command
zig-out/bin/zignal help <command>
Examples
The interactive demos run Zignal in the browser through WASM and showcase color spaces, face alignment, seam carving, feature matching, global optimization, QR codes and more. Their sources live in the examples directory alongside native Zig programs.
Sponsors
Special thanks to B Factory, Inc, the Founding Sponsor of Zignal. I originally developed this library internally for Ameli's virtual makeup try-on system, and B Factory graciously transferred ownership to the community to ensure its long-term maintenance and growth.
Star History
Jelajahi proyek terkait
Memuat…