How to display a tiff image in java?
Hi,
I already have a program that can load png, jpg, bmp and gifs images but it cannot load images in the tiff format. I was wondering if there is a way to display the image in a java program. Any suggestions, examples or links will be greatly appreciated. |
I'm not sure this helps .. but in the worst case scenario .. you could implement your own tiff file class(es)
Here are some words on the format http://www.ee.cooper.edu/courses/cou...es/EE458/TIFF/ |
Hi, Thanks for your link! But if there could be something already written in java for reading it would have been great. I may use the option given in the link but only if there is no other way! Thats way too complicated!
|
Hi
Sun has a library that can understand most TIFF files: http://java.sun.com/products/java-me...api/index.html Some older library, that could be simpler, i dont know: http://www.lizardworks.com/java.html Best regards, Guttorm. |
Hey thanks for the links but the problem is that i am not able to use the JAI library as i don't know how to procede! Any simple example where a tiff is loaded would be great. I'll continue searching a bit. There is something else, if you could tell me how to scan an image from a scanner and save it in the image format i like through my java appl i would not have to load tiff images.
|
All times are GMT -5. The time now is 05:29 PM. |