HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

catimg — Image printing in the terminal. See also: `pixterm`, `chafa`. More information: <https://manned.org/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theterminalcommandcatimgcliimageprintingsee

Problem

How to use the catimg command: Image printing in the terminal. See also: pixterm, chafa. More information: <https://manned.org/catimg>.

Solution

catimg — Image printing in the terminal. See also: pixterm, chafa. More information: <https://manned.org/catimg>.

Print a JPEG, PNG, or GIF to the terminal:
catimg {{path/to/file}}


Double the [r]esolution of an image:
catimg -r 2 {{path/to/file}}


Disable 24-bit color for better [t]erminal support:
catimg -t {{path/to/file}}


Specify a custom [w]idth or [H]eight:
catimg {{-w|-H}} {{40}} {{path/to/file}}

Code Snippets

Print a JPEG, PNG, or GIF to the terminal

catimg {{path/to/file}}

Double the [r]esolution of an image

catimg -r 2 {{path/to/file}}

Disable 24-bit color for better [t]erminal support

catimg -t {{path/to/file}}

Specify a custom [w]idth or [H]eight

catimg {{-w|-H}} {{40}} {{path/to/file}}

Context

tldr-pages: common/catimg

Revisions (0)

No revisions yet.