A simple single-class ASCII image generator.
Place the Aag.java class inside your project folder and call the .write
method passing the file path and output path as arguments.
Usage example:
public class App{
public static void main(String[] args){
String filePath = "/home/user/Images/my_image.png";
String outputPath = "/home/user/Documents/ASCII/";
Aag.write(filePath, outputPath);
}
}
I highly recommend to use the absolute path for both filepath and outputpath.