This is a Node.js application that generates ASCII art from images. It uses the Sharp library for image processing and provides various customization options to create unique ASCII art representations of your images.
- Convert images to ASCII art.
- Customize the output by specifying image dimensions, character sets, and inversion.
- Supports basic and extended character sets for different artistic effects.
-
Clone this repository to your local machine.
-
Install the project dependencies using npm:
npm install
Options srcImage (string): The path to the source image file. width (number): The desired width of the output image in characters. height (number): The desired height of the output image in characters. mode (boolean, optional): Use an extended character set if true, or a basic set if false. Default is false. inversion (boolean, optional): Reverse the order of characters for artistic effect if true. Default is false.
Enjoy creating ASCII art from your images!