"Unsupported Image Type" exception in only few images...
Posted
by Nitz
on Stack Overflow
See other posts from Stack Overflow
or by Nitz
Published on 2010-05-24T08:17:44Z
Indexed on
2010/05/24
8:21 UTC
Read the original article
Hit count: 347
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?
© Stack Overflow or respective owner