command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Ascii-Converter
Command line tool for converting PNG images to ascii art.
Usage
$ go build ascii-converter.go
$ ./ascii-converter.exe -f <filepath>
Command Line Arguments
- f - Path to a PNG image
- xscale - Scaling factor for the x axis
- yscale - Scaling factor for the y axis
- format - Output format:
- 0 = NO_COLOR
- 1 = FOREGROUD_COLORED
- 2 = BACKGROUND_COLORED
- 3 = PNG
- o - Output filepath for the converted image
Example
$ ./ascii-converter.exe -f example.png -xscale=2 -yscale=2 -format=2 -o out.txt
Converts an image "example.png" to an ascii art image with the ansi escaped background colors as out.txt
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.