Files
cheatsheet-tldr/tldr/img2sixel
2025-03-09 00:16:26 +00:00

18 lines
457 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# img2sixel
> Convert images to the Sixel format for displaying in a terminal.
> More information: <https://manned.org/img2sixel>.
- Display an image in the terminal:
`img2sixel {{path/to/image}}`
- Resize the image to the specified width and height before displaying it:
`img2sixel {{[-w|--width]}} {{number}} {{[-h|--height]}} {{number}} {{path/to/image}}`