./graphics/chafa, Command-line utility for displaying images in a terminal

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ]


Branch: CURRENT, Version: 1.18.2, Package name: chafa-1.18.2, Maintainer: ktnb

Chafa is a command-line utility that converts image data, including
animated GIFs, into graphics formats or ANSI/Unicode character art
suitable for display in a terminal. It has broad feature support,
allowing it to be used on devices ranging from historical
teleprinters to modern terminal emulators and everything in between.


Master sites:

Filesize: 1898.05 KB

Version history: (Expand)


CVS history: (Expand)


   2026-05-01 16:24:13 by Kevin Bloom | Files touched by this commit (2) | Package updated
Log message:
chafa: update to 1.18.2

- Support BigTIFF images
- Integer overflow and OOB write with big output size (@Captainjack-kor).
- OOB write in symbol-mode Floyd-Steinberg dithering.
- CLI: Incomplete sanitization of filenames printed to terminal.
- CLI: Integer overflow in XWD header validation.
- CLI: Pointer arithmetic past end of GIF file allocation.
- OOB reading canvas cell colors in FGBG mode.
-  Compiler warnings from headers with C99 and -Wpedantic.
   2026-04-20 20:14:10 by Adam Ciarcinski | Files touched by this commit (45)
Log message:
revbump for x265
   2026-02-09 15:12:39 by Kevin Bloom | Files touched by this commit (2) | Package updated
Log message:
chafa: update to 1.18.1

- New option: `--probe-mode=[any|ctty|stdio]`. This specifies whether
  to probe the terminal through stdio or ctty (usually `/dev/tty`).
  Defaults to `any`, which will probe stdio if it looks like a tty,
  otherwise the ctty. This allows the terminal to be probed when I/O
  is redirected
- We now try harder to restore the terminal to a usable state after
  `SIGINT` is received, even if we couldn't do a clean exit in a
  reasonable time frame
- Bash completions were added and zsh completions updated
- Improved compatibility for the Kitty protocol
- Bug fixes:
  - Test failure on sparc64
  - Test failure on i386
  - Bad console modes on win32 after exit
  - Stalling on closed output pipe on OpenBSD.
   2026-01-27 09:41:10 by Thomas Klausner | Files touched by this commit (1344)
Log message:
*: recursive bump for removal of cairo's xcb option
   2026-01-07 09:49:50 by Thomas Klausner | Files touched by this commit (2525)
Log message:
*: recursive bump for icu 78.1
   2025-11-10 03:43:14 by Kevin Bloom | Files touched by this commit (2) | Package updated
Log message:
chafa: update to 1.18.0

Added:
- New options: `--files=FNAME` and `--files0=FNAME`. These allow
  reading lists of input files from a file or standard input. Paths
  can be separated by newlines or a zero byte (`--files0`). These
  options can be specified multiple times.
- New option: `--link=[auto|on|off]`. When used with `--label`,
  this controls whether each label should be an `OSC 8`-style
  hyperlink to its input file.
- Multiple files can now be decoded in parallel.
- ConHost support was removed due to incompleteness and lack of
  interest.
- Added support for CoreGraphics loaders on MacOS.
- Added support for HEIF files on all platforms.
- Improved detection of ghostty inside tmux.
- Added support for GNU/Hurd console.

Bugs Fixed:
- Don't leave stdin in non-blocking mode.
- Use glibtoolize when libtoolize is unavailable (@saitoha).
- GNU/Hurd: Don't stall if pipe is closed on remote end.
- _mm_empty() not always called immediately after MMX use.
- FP division by zero possible in sixel palette generation.
- Don't wait for response if probing is unsupported.
- Wrong exit code returned on some failures.
   2025-10-23 22:40:24 by Thomas Klausner | Files touched by this commit (2999)
Log message:
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by \ 
/usr/pkg/lib/libglib-2.0.so.0 not defined
   2025-08-31 00:46:51 by Thomas Klausner | Files touched by this commit (1355)
Log message:
*: recursive bump for tiff growing lerc dependency