2025-03-14 21:59:59 -06:00
|
|
|
# catimg
|
|
|
|
|
|
|
|
|
|
> Image printing in the terminal.
|
|
|
|
|
> See also: `pixterm`, `chafa`.
|
2025-04-03 20:36:56 -06:00
|
|
|
> More information: <https://manned.org/catimg>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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}}`
|