Improve documentation and manpage. Fix buffer overflow
tmux-in-Kitty support, integrated manpage, -f/-F filelist
High resolution image support in tmux (#95). On the Kitty terminal with
tmux (>= version 3.3) it is now possible to show images in the terminal multiplexer (works on Kitty 0.28.1, but avoid 0.29.0 due to a bug).
timg --help is now an integrated manpage. This will allow AppImage users to see the documentation without the installed manpage. If you have not looked at the manual page yet, now is a good time to discover it :)
The file list allows to read image filenames from a file. This is very useful if you want to give timg more filenames on the command line than the shell allows you :). This feature has been around for a while, but it now comes in two flavors that determine how relative paths are treated in these files. A relative path is one that is not originating from the root of the filesytems, e.g.
img/foo.jpg. There are two options
-F that influence that behavior.
-ffilenames are resolved relative to your current directory. So just like if you invoked
-Ffilenames are resolved relative to the directory the file list is in. So so if you have a file list in some directory and it contains filenames of the form
img/foo.jpg, these files will be resolved relative to that directory, not wherever your current shell currently is.
Note, this changed from before: There was no
-F option, and
-f was behaving like
-F is now. But since
-F is confusing unless explicitly chosen, this backward incompatible change had to be introduced.
And finally: there is an timg AppImage now in the release section to quickly test out new versions (#103). AppImage is a package format that allows to use an application on almost all Linux distributions out-of-the-box.
The AppImage is meant to be small and has not everything compiled in, e.g. it does not contain full video decoding or all image imports that ImageMagick does support (Otherwise, the binary would be more than 100MiB large). But even with that, most common tasks work well (
*.jpg, animated gifs,
*.qoi,...) and is a good starting point to decide if you want to install it with your regular distribution package manager; some of them packagae timg regularly.
Sixel support; faster compressed graphical image transfers.
This release adds sixel support, it can be selected with
--pixelation=sixel or, short
The sixel support has been tested with
xterm (invoke with option
xfce4-terminal (compiled with latest vte that allows for sixels) and alacritty-sixel.
Typically, you'd need to provide the
-ps option if you want to test sixel output as auto-detection is currently only supported for xterm and mlterm.
Other than that, some few refinements here and there, faster compression for
QOI image format, better SVG transprency handling
Fix compilation with latest ffmpeg
Title variables; allow stb
- Provide compile-time alternative stb image loading library useful in environments with reduced dependencies.
- Provide place-holder formatting options for title print:
%h-image height #67
- Fix compilation issue on OpenBSD #63
- Various small fixes and improvements.