I have an image which is in the form of a ByteArrayInputStream. I want to take this and make it something that I can save to a location in my filesystem.
I've been going around in circles, could you please help me out.
If you are already using Apache commons-io, you can do it with:
IOUtils.copy(byteArrayInputStream, new FileOutputStream(outputFileName));