u/archdria

Image processing library zignal 0.10.0 is out
🔥 Hot ▲ 53 r/Zig

Image processing library zignal 0.10.0 is out

Hi everyone!

Zignal 0.10.0 is out. compilable with Zig 0.16.0.

There are the usual performance improvements and bug fixes, but the main highlight is a simple CLI tool to perform various image operations via the terminal.

You can get an idea of what it can do with:

Usage: zignal [options] <command> [command-options]

Global Options:
--log-level <level>   Set the logging level (err, warn, info, debug)

Commands:
blur     Apply various blur effects to images.
diff     Compute the visual difference between two images.
display  Display an image in the terminal using supported graphics protocols.
edges    Perform edge detection on an image using Sobel, Canny, or Shen-Castan algorithms.
fdm      Apply Feature Distribution Matching (style transfer) from target to source image.
info     Display detailed information about one or more image files.
metrics  Compute quality metrics (PSNR, SSIM, Mean Error) between a reference and target images.
resize   Resize an image using various interpolation methods.
tile     Combine multiple images into a single tiled image.
version  Display version information.
help     Display this help message

Run 'zignal help <command>' for more information on a specific command.

For example:

zignal help display

Usage: zignal display <image> [options]
Display an image in the terminal using supported graphics protocols.

Options:
--width <N>     Target width in pixels
--height <N>    Target height in pixels
--protocol <p>  Force protocol: kitty, sixel, sgr, braille, auto

Full release notes here:

https://github.com/arrufat/zignal/releases/tag/0.10.0

u/archdria — 7 days ago