Kiran Kumar skrev:
We have a tiff image stored in the IFS directory. I have an immediate requirement to load the tiff image from the ifs directory to the browser using java. I am stuck up with two questions 1. how to read tiff image from ifs directory using java
Look into the javax.imageio API:

2 how can i display a tiff image on a browser?
Use javax.imageio to create a JPEG of each page in the tiff file, and create a HTML file loading each jpeg.

This is a generic approach that will work on all browsers which I implemented a few years back. Personally I might like the QuickTime solution better as a user. I did not like the "download and launch an external program" which is the default for just serving the tiff file to a Windows user.

Note that when running under AS/400 you will need to run the JVM as headless.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.