./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.3nb2, Package name: chafa-1.18.3nb2, 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: 1902.161 KB

Version history: (Expand)


CVS history: (Expand)


   2026-09-29 08:08:46 by Thomas Klausner | Files touched by this commit (3127)
Log message:
*: recursive bump for pcre2 10.49
   2026-09-27 13:39:47 by Tobias Nygren | Files touched by this commit (3126)
Log message:
*: revbump for pcre2 symbol versioning change
   2026-09-24 21:29:29 by Kevin Bloom | Files touched by this commit (2) | Package updated
Log message:
chafa: update to 1.18.3

- Sixels are no longer used inside tmux when the outer terminal can't
  display them.
- Padding and fully transparent areas revealed by alpha thresholding
  are now correctly painted in the flat background color instead of
  the closest match
- CLI: Hang when `--files` was used and standard input was a pipe.
- CLI: Potential busy-wait for a complete token from a file list.
- CLI: TIFF images decoded with wrong channel order on big-endian.
- CLI: Integer overflow in image loader size arithmetic
- CLI: Unbounded allocation decoding GIF frames larger than the
  file's logical extent.
- OOB read one entry past the end of the palette color table.
- Double free of the pixel canvas after `chafa_canvas_new_similar()`.
- Spurious pen added to palettes with fewer than 255 colors.
   2026-09-02 21:05:38 by Thomas Klausner | Files touched by this commit (3127)
Log message:
*: recursive bump for pcre2 10.48
   2026-07-21 18:08:38 by Thomas Klausner | Files touched by this commit (1)
Log message:
chafa: needs GNU make

Otherwise:

gcc -std=gnu23 -E -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 \ 
-I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include \ 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz \ 
-I/usr/pkg/include/libxml2 -CC  -o chafa-term-seq-doc.h
gcc: fatal error: no input files
   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.