Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

26
catimg Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# catimg
> Image printing in the terminal.
> See also: `pixterm`, `chafa`.
> More information: <https://github.com/posva/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}}`