Hello ranchers....it's me again
Ok, my previous post was about extracting images from an Excel file and then writing them to disk, which I can now do with no problems...except when the image inserted in the Excel file is not supported by
Java.
In this situation I can't use the ImageIO.write function because the image type is not known.
Does anyone know of a way to determine the image file type from an InputStream? The thing is, I need to use an InputStream to get the file type because the image itself is not in it's own file, so I can't just use the file extension.
Is this even possible?
Thanks!