I made a lot of research to find which character would be as the more contrasted, and which one would be as the less, and I came up with this : { "#", "#", "@", "%", "=", "+", "*", ":", "-", ".", " " }; As you guessed, the "#" is the character representing the most contrasted pixels, and the " " representing the less. I classed them in an array. The result is really impressing I guess, I never thought it would do that. Pretty nice all the way :).
Here's an example on notepad, reducing the character size to 2.


Aucun commentaire:
Enregistrer un commentaire