Files
tldr/pages.zh/linux/img2txt.md

24 lines
505 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# img2txt
> 将图像转换为彩色ASCII字符并将其输出为基于文本的彩色文件。
> 更多信息:<https://manned.org/img2txt>。
- 将输出列数设置为特定值:
`img2txt --width={{10}}`
- 将输出行数设置为特定值:
`img2txt --height={{5}}`
- 将输出字体宽度设置为特定值:
`img2txt --font-width={{12}}`
- 将输出字体高度设置为特定值:
`img2txt --font-height={{14}}`
- 将图像亮度设置为特定值:
`img2txt --brightness={{2}}`