I am trying to make ASCII Art from an image, but for some reason the output is always rotated and I went through my code a bunch of times and I simply can not find the mistake. I am guessing it's something to do with imageWidth and imageHeight but it all looks fine to me..

Code can be found on github

1 Answers

0
Community On

In ImageWriting.java, line 34:

this.writer.append(Density.DENSITY.getDensityFor(this.brightnessValues[j][i]));