I have a byte array representation of a Image. How to save it on disk as an image file.
I have already done this
OutputStream out = new FileOutputStream(
You could use the FileOutputStream class:
FileOutputStream fos = new FileOutputStream("image.jpg"); try { fos.write(someByteArray); } finally { fos.close(); }