I coded an image generator. You choose a String as input, every char is converted into its binary ascii value and each bit represents a pixel (0 = white, 1 = black). The result is save as “image.jpg”
Question :
Now I’m coding the image decoder(in order to get a string from the image), but I have no idea of how I could get the array of bits back.
The first thing I did was to create an array of int and assign to it the value of image.pixels
But I can’t make sense of the result.