Description:
This update for chafa fixes the following issues:
- Update to 1.16.1:
* Bug fixes:
#282 Fish completion not included in release tarball
#283 Piping and redirection are broken in Windows
- Update to 1.16.0:
* Added terminal probing. Currently we can determine geometry, colors
and sixel capabilities this way. This supplements the existing heuristics.
* The internal terminal database and heuristics were refactored for
clarity, with new API added to simplify the configuration process.
* I/O is now threaded, resulting in improved responsiveness and pipelining.
* New option: --grid=WxH, --grid=[auto|on|off] or -g. This lays out
multiple images in a grid for easy browsing.
* New option: --label=[on|off] or -l. Labels each image with its filename.
Works in both continuous and grid layouts.
* New option: --probe=[auto|on|off]. Controls whether to actively probe the
terminal. Can take a real number denoting how long to wait for a response.
* Sixel quality improved significantly. The quantizer was reimplemented with modern algorithms
(#174), and blue noise dithering was introduced (#238).
* The new blue noise dithering is also available in symbols mode, and can be turned on with
--dither noise. It can be turned off with --dither none.
* Numerous small improvements were made to sixel handling:
+ Terminal cursor placement quirks are now represented and handled.
+ Images can now cover their cell extents completely.
+ Workaround for animations "walking up the screen" on quirky terminals.
* The JPEG XL loader was improved with optional memory mapping and better container support
* Enabled wildcard expansion in Windows builds (#266).
* Added completions for the fish shell and updated those for zsh.
* Bug fixes:
+ #111 Provide auto detection of background for perception of transparency
+ #228 Sixel capability not detected in foot + tmux
+ #236 Ghostty shows pwd/lock indicator when using Chafa
+ #238 Sixel image quality significantly different from img2sixel and ImageMagick
+ #239 Chafa leaves echo on
+ #245 JPEG file not recognized
+ #246 Examples using deprecated functions
+ #249 Sixel detection doesn't set default values
+ #254 -t 1 doesn't work with -f iterm
+ #255 Animations scroll/walk up the screen
+ #265 Enable Kitty image protocol for Warp
+ #266 On Windows, in a cmd.exe window, filename wildcard expansion is broken
+ #273 -t 1 messes up some images
+ #274 -f {kitty,iterm} swaps BG color channels for SVG
+ #278 Images not always padded to cell boundary
+ [unfiled] Fix broken bashisms resulting in logic failure
+ [unfiled] Small leak in chafa_canvas_print_rows()
+ [unfiled] Uninitialized histogram in nearest-neighbor interp.
- Update to 1.14.5:
Fixes:
* Improve sixel and general terminal support inside tmux
* Support JPEGs with CMYK color space
* Fix --font-ratio doing nothing
* Ensure CLI tool gets linked with libm.
- Update to 1.14.4:
* Bug fixes:
#216 Dither intensity does not work properly
- Update to 1.14.3:
* Sixel transparency has been reenabled for still frames. Animations
will be pre-composited on an opaque background to prevent flicker/glitchiness (#211)
* Now supports the Ghostty terminal, defaulting to the Kitty graphics protocol there.
* Bug fixes:
#185 Chafa version 1.14 breaks image preview on lf.
#210 Crash with -f sixels.
#211 Sixels are too small in Windows Terminal.
#212 Aspect-preserving calculations are off in some cases.
[unfiled] Inconsistent fraction parsing in CLI arguments.
[unfiled] A few small memory leaks in the JPEG XL loader.
- Update to 1.14.2:
* #203 Chafa 1.14.1 fails to build on i686
* #205 Symbols mode not working since 1.14.1
* #206 Crash when importing more than 32767 glyphs
* Fix erroneous base64 encoding of final byte in some circumstances
- Update to 1.14.1:
* A JPEG XL (.jxl) loader was added using libjxl (#188).
* Added detection of the Eat "Emulate a Terminal" Emacs terminal.
* Symbols mode was sped up significantly on AVX2-capable platforms.
* Tests: A new test driver was added. It will log the specifics
of any failures, which aids debugging of CI builds.
* Bug fixes:
#189 Fix installation of zsh completions.
#190 Fix a small memory leak in ChafaCanvas.
#192 Wrong sixel padding in some circumstances.
#195 tmux passthrough enabled when already set.
#196 iTerm mode not enabled automatically.
- Enable optional image formats
* jpeg
* svg
* tiff
* webp
- Update to 1.14.0:
* Removed ImageMagick loader support. Packagers can now remove
this dependency
* Polite mode is now off by default. The new default eliminates
cursor flicker and makes the output more robust against unusual
terminal settings. The old behavior can be restored with
--polite on.
* Added image loaders for the AVIF and QOI formats.
* sRGB gamma is now handled correctly in scaling operations.
* New option: --passthrough=<auto|none|screen|tmux>. This allows
passing graphics protocols like Sixels, iTerm and Kitty through
a terminal multiplexer. It will be enabled automatically for
Kitty, and can be enabled manually for other protocols with
more limited support
* New option: --view-size=<WxH>. Specifies width and height of
the viewport, overriding the detected terminal size
* New option: --fit-width. Fits images to the width of the
viewport, allowing them to be taller than the viewport's height
* New option: --relative=<bool>. Enables relative cursor
positioning. Useful if you've pre-positioned the cursor at a
particular offset where you want frames to appear, but tends to
make the output illegible in pagers, e.g. less -R
* New option: --exact-size=<auto|on|off>. Preserves the input
pixel size when possible. Useful to avoid artifacts caused
by resampling
* New symbol selector: imported. This selects glyphs loaded with
--glyph-file
* Fontgen: Added a BDF font writer
* Fontgen: Cleanup and modernization
* The help text and manual page were overhauled for readability,
and the API documentation now includes symbol indexes by version
and deprecation status.
* Added a zsh completion script
* Fix "unknown file format" when using AVIF on stdin
* Fix broken linking with libwebp-1.3.1
* Fix make check with --without-tools
* Fix --duration not working well with still images
* Fix sixel rendering of animations
* Fix operator precedence in geometry calculation