"Unsupported Image Type" exception in only few images...
- by Nitz
In my java-swing project.
I have one frame in which user can drop the images and save that images in database.
Now this work perfectly but their are some images which is not showing.
This are images Image 1 , Images 2 which is not supporting .. this are some images which are not reading...
and its showing me exception, like
javax.imageio.IIOException: Unsupported Image Type
Can i check that, is the image which user had dropped is supported or not?
And can i convert that file which is not supported into supported file in java?