[Solved] Convert image to binary to apply Image Steganography [closed]

If I understand the question correctly, you want to get the single bytes of the jpg-file, which can be read with a DataInputStream: File imageFile; DataInputStream dis = new DataInputStream(new FileInputStream(imageFile)); int input = dis.read(); dis.close(); input then holds the first byte of the file, if you invoke read again (before dis.close()), you can read … Read more