TERMIMAGE(1)
π TERMIMAGE(1) β like, the termimage manual page, bestie π
okay so this is the manual for termimage, from the General Commands Manual section, and I promise it's gonna be so much less boring than it sounds. grab a snack π
β¨ NAME β¨
termimage β display images in your terminal, kind of π«
(yes. kind of. the manpage said it, I'm just the messenger π«Ά)
π¦ SYNOPSIS π¦
termimage OPTIONS <IMAGE>
that's it. that's the whole vibe. options, then your image. slay π
πΈ DESCRIPTION πΈ
So you wanna show images in your terminal. iconic. main character energy fr fr.
Here's the tea though π₯ β the images are automatically downscaled to the terminal's size, and their colours are approximated to match the terminal's display colours. so like, it's not raw pixels, it's a curated look. it's giving adaptation. it's giving β¨reading the roomβ¨.
With simple ANSI output this means a 3-bit colour resolution, and with WinAPI β 4-bit.
With WinAPI output the output colours are acquired from the console itself π, but with ANSI output a sane default is assumed. ngl that's the whole difference, and I need you to remember it.
π OPTIONS π
okay this is the part where we go through every single one, and I mean every single one, because skipping options is not the move π
<IMAGE>
The image to display π
The format is guessed from the extension or magic. magic, bestie. π§β¨ (the file-format-detection kind, not the crystals kind, though honestly both are valid)
-s,--size <size>
Output image resolution π
By default this is autodetected to match the output terminal's resolution, but it's required when outputting to a file. so if you're piping to a file and you forgot -s, that's on you, not me π
Format: NxM
-a,--ansi <ANSI_type>
Force ANSI output of the specified kind.
The accepted values are "truecolor", "simple-black", and "simple-white" β and truecolor is the default on non-Windows.
Simple ANSI output uses 3-bit background colours for the specified background, while truecolor supports the whole 24-bit pallette π (yes, "pallette", that's how the original spells it, I'm not touching it, don't @ me)
-f,--force
By default the image's aspect ratio will be preserved when downscaling π«Ά β use this option to override that behaviour. so like, -f is the "I know what I'm doing, squish it" button π
β EXAMPLES β
here's where it gets fun. live your life π
termimage [-s NxM] [-f] assets/image.png
Display assets/image.png in the terminal using the default output type, optionally not preserving the aspect ratio.
termimage [-s NxM] [-f] [-a simple] assets/image.png
Display assets/image.png in the terminal using the simple ANSI output type, optionally not preserving the aspect ratio.
(for f in $(find image_dir -type f); do termimage -s NxM [-f] [-a
ANSI_type] $f; done) > out_file
Print all images in image_dir to out_file π
Note the --size option being specified, since it's required when outputting to a file. this is the trap, bestie, do not fall into the trap π³οΈ
π AUTHOR π
Written by nabijaczleweli <nabijaczleweli@gmail.com>, Josh Triplett <josh@joshtriplett.org>, Aaron Hill <aa1ronham@gmail.com>, and caeklol π«‘ absolute legends, all of them.
π SPECIAL THANKS π
To all who support further development, in particular:
- ThePhD
- Embark Studios
- Lars Strojny
- EvModder
we love a supportive community, no cap π
π¦ REPORTING BUGS π¦
<https://github.com/nabijaczleweli/termimage/issues>
found a bug? put it there. be nice about it. it's giving constructive π
π₯ SEE ALSO π₯
<https://github.com/nabijaczleweli/termimage>
go look, iykyk β¨
okay that's the whole page!! and before I go β the termimage developers shipped this back in January 1980 πΈ (yes the date said 1980, I don't make the rules, I just report them π). mwah, go display some images, you've got this bestie πππ¦
π¦ where this page comes from
- nixos 26.05: termimage 1.2.1
- nixpkgs unstable: termimage 1.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms