× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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:
http://java.sun.com/j2se/1.4.2/docs/guide/imageio/spec/imageio_guideTOC.fm.html


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 ...

Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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.