tiv
An image viewer that displays images directly in the terminal.
Package Information
| Latest version: | 1.1 |
|---|---|
| Source files: | tiv-1.1.tar.gz |
| Binary package: | tiv-1.1-1-any.pkg.tar.gz [xyne-any] |
| Repos: | [xyne-any] |
| PKGBUILD etc: | http://xyne.archlinux.ca/pkgbuilds/tiv |
| TAURball: | tiv.tar.gz |
| AUR page: | http://aur.archlinux.org/packages.php?ID=33141 |
| Arch forum thread: | http://bbs.archlinux.org/viewtopic.php?id=87451 |
About
Tiv is a simple image viewer that displays images directly in the terminal. It's really just an ascii art generator based on Perl and Imagemagick. It accepts options to control the width and height of the image as well as the aspect ratio. The resolution of the image depends directly on your font settings.
Note that Tiv will not work correctly (read: "even remotely as expected") if your terminal does not support 256 colors.
Tiv was written for fun to make use of some functions that I had created while playing around with terminal colors. Terminal chromophiles might also be interested in this, which was another coding byproduct.
Tips
Cascade images using the full terminal width.
tiv -r 0.5 [img_files]
The same as the previous command, but pause after each image.
tiv -r 0.5 -p [img_files]
Scale image to fill terminal.
tiv -h $LINES -p <img_file>
Screenshots
Note that the following image is a thumbnail which makes the pixel-per-distance ratio appear higher than it actually is. The fullsize image will give you a more accurate idea of what to expect.
The original image that I used can be found here.