---
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}}`
