Turns images into ASCII art.
Implemented based on this guide.
Tech stack used:
- NodeJS.
- Sharp.
- Jest.
- Joi, for parameter validation.
npm installShow help:
node src/app.js -hPrint image with ASCII characters:
-
Write the following command but do not hit enter yet.
node src/app.js --imagePath <path/to/the/image>
-
Zoom out as much as possible your terminal.
-
Hit enter.
The program assumes a screen resolution of 1920x1080. If the ASCII art looks squashed or weird
you can specify another screen resolution using the flag --screenResolution <width>x<height>:
node src/app.js --imagePath <path/to/the/image> --screenResolution 1280x720The cross of Christ:
Mario Bros:
Monkey:






