HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

img2txt — Convert images to color ASCII characters and output them to text-based colored files. More informati

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandimagescolorasciiconvertcliimg2txtcharacters
linux

Problem

How to use the img2txt command: Convert images to color ASCII characters and output them to text-based colored files. More information: <https://manned.org/img2txt>.

Solution

img2txt — Convert images to color ASCII characters and output them to text-based colored 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}}

Code Snippets

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

Context

tldr-pages: linux/img2txt

Revisions (0)

No revisions yet.