mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-12 11:55:39 +02:00
24 lines
663 B
Markdown
24 lines
663 B
Markdown
# img2txt
|
|
|
|
> Convert images to colour ASCII characters and output them to text-based coloured files.
|
|
> More information: <https://manned.org/img2txt>.
|
|
|
|
- Set output column count to a specific value:
|
|
|
|
`img2txt {{[-W|--width]}} {{10}} {{path/to/image}}`
|
|
|
|
- Set output line count to a specific value:
|
|
|
|
`img2txt {{[-H|--height]}} {{5}} {{path/to/image}}`
|
|
|
|
- Set output font width to a specific value:
|
|
|
|
`img2txt {{[-x|--font-width]}} {{12}} {{path/to/image}}`
|
|
|
|
- Set output font height to a specific value:
|
|
|
|
`img2txt {{[-y|--font-height]}} {{14}} {{path/to/image}}`
|
|
|
|
- Set image brightness to a specific value:
|
|
|
|
`img2txt {{[-b|--brightness]}} {{2}} {{path/to/image}}`
|