views:

27

answers:

1

Hey guys,

I asked one question here but I didn't get exactly what I wanted. So, now because of the unsupported image problem in ImageIO, I thought why don't I try another way to use it, by converting Unsupported images.

So, is there any open-source image converter in Java or is there any website or tool, through which I can connect with my Java application and then have that tool or website convert my jpg image to jpg or png image and then store that image in some place?

So that if an image is unsupported in ImageIO then I can store that image by converting it.

This whole process should be done automatically, meaning the user should not have to open that website or tool and convert it manually.

+3  A: 

Yes, ImageMagick. It has a Java API - JMagick.

If the API doesn't suit you, you can, as a last resort, use ImageMagick as a command-line utility from java (by Runtime.getRuntime().exec(..))

I don't know if it's suitable, but take a look at JAI as well.

Bozho