tags:

views:

24

answers:

1

Hi,

How can I know why imageIO.write was not able to write the image successfully? it returns false when I try to write a jpeg2000 image. I am using JDK6 and JRE6 that have JAI implicit. I really appreciate your helps.

Thank you.

A: 

According to the Javadoc, it will return false if no appropriate writer is found. Try calling ImageIO.getWriterFormatNames() to see which formats are accepted.

Mark Peters