2025-03-14 21:59:59 -06:00
|
|
|
# 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:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`img2txt {{[-W|--width]}} {{10}} {{path/to/image}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set output line count to a specific value:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`img2txt {{[-H|--height]}} {{5}} {{path/to/image}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set output font width to a specific value:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`img2txt {{[-x|--font-width]}} {{12}} {{path/to/image}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set output font height to a specific value:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`img2txt {{[-y|--font-height]}} {{14}} {{path/to/image}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Set image brightness to a specific value:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`img2txt {{[-b|--brightness]}} {{2}} {{path/to/image}}`
|