I was trying to read .tiff image. I got that i cant read tiff file by ImageIO.read and then read about JAI API which supports .tiff images but i am not getting JAI API to use. So is there another option for JAI API or where can i get JAI API?
Asked
Active
Viewed 579 times
1
-
Possibly duplicate of http://stackoverflow.com/questions/7502181/where-can-i-download-jai-and-jai-imageio – Marco13 Feb 18 '14 at 10:50
2 Answers
1
You can read TIFF using ImageIO.read(...)
.
There's just no plugin installed by default. You can use the plugins from JAI ImageIO, or you could try the TIFF reader from my Twelvemonkeys project. These are both plugins for ImageIO, and allows you to use the API you already know.
Commons Imaging should also work, if you don't mind using a different API for reading.

Harald K
- 26,314
- 7
- 65
- 111
-
I have just tried Twelvemonkeys , many classes are missing in that , so its not working – swapnil7 Feb 18 '14 at 11:43
-
@swapnil7: I can assure you that all the classes are there. :-) You are probably just missing some dependencies. Are you using Maven? Or did you try with the dependencies [here](https://github.com/haraldk/TwelveMonkeys#manual-dependency-example)? PS: 3.0-rc5 is now available from Maven Central. – Harald K Feb 18 '14 at 11:57
-