Hi, I have a byte[] that contains binary image data (for pngs and gifs). I can't figure out how to write this data to a file. Can anyone give me an overview of what I need to do? Thanks!
FileOutputStream f = new FileOutputStream("pic.gif"); for(int i = 0; i < <size of ur byte array>; i++) f.write(<ur byte array name>[i]); f.close(); i think this should do it.