LinuxCommandLibrary

catimg

Image printing in the terminal.

TLDR

Print a JPEG, PNG, or GIF to the terminal

$ catimg [path/to/file]
copy


Double the [r]esolution of an image
$ catimg -r 2 [path/to/file]
copy


Disable 24-bit color for better [t]erminal support
$ catimg -t [path/to/file]
copy


Specify a custom [w]idth or [H]eight
$ catimg [-w|-H] [40] [path/to/file]
copy

Copied to clipboard