You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zignal is a zero-dependency image processing library heavily inspired by the amazing dlib.
Status
Zignal is under active development and powers production workloads at Ameli.
The API continues to evolve, so expect occasional breaking changes between minor releases.
constzignal=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"));
Canvas API - Lines, circles, polygons, Bézier curves with antialiasing
Fonts - Bitmap font rendering, BDF/PCF loading, and Unicode range filters
Compression - DEFLATE, zlib, gzip, and LZ77 bitstream primitives
Terminal graphics - Kitty and sixel with capability detection utilities
Optimization - Hungarian assignment solver for cost/profit matrices
Motivation
This library is used by Ameli for their makeup virtual try on.
Acknowledgements
First of all, this project would not have been possible without the existence of dlib.
In fact, the first version of the virtual makeup try on was written in C++ with dlib and Emscripten.
However, we decided to give Zig a go, even if that meant rewriting everything. As a result, we have no dependencies now.
Finally, B factory, Inc, which is my employer and graciously agreed to release this library to the public.