Table of contents:
Q: Which functions are restricted due to the "sandbox" principles when TIFFY is running as applet in a web browser? How can these restrictions be released?
A: Printing and saving / downloading of images is acitvated in the original version of the applet from the author as it is digitally signed with a certificate from Thawte. If you build your own archives (.jar or .cab), you must sign these files with your own certificate in order to give the applet access to restricted resources.
The print-dialog settings can be saved to disk only if TIFFY is running as standalone application or as signed applete because unsigned applets do not get write-access to files (which in this case would be located on the webserver).
Q: If the applet is running in Netscape Navigator, the image icon buttons are not displayed and the registration dialog shows up although I installed a valid license key.
A: TIFFY prior to version 2.0.1 loaded resources named *.res. Netscape Navigator did not allow to load ressources as stream via the classloader, so the toolkit related ressources (icons and also the license key) could only be accessed, when stored in a physical directory structure - not only in a jar archive. Newer version load the resources as *.gif which is allowed from JAR archives with Netscape Navigator as well. If you develop your own framework, the init-method of the main class should contain a call like "ach.file.ParamUtil.retrieveCodeBase(this)". This is important for loading the icon image buttons and to access the license key file in order to suppress the registration dialog with Java Version 1.0. After changing the classes, it may be necessary to explicitly clear all caches of the Navigator (use Navigator's cache settings menu).
Q: I have an evaluation copy of your TIFFY View applet. I am using an URL for the file name, since my images are stored on a web sever, and I am getting an error. The error is "com.ms.securitySecurityException cannot connect to ..." which is another server that contains my images.
A: The security model of browsers
does not allow applets to access URLs from a different domain as the applet itself was loaded from. This option can be
enabled for digitally signed applets. TIFFY applet is already digitally signed
for Netscape's Object and MS Authenticode but access across servers is
currently not intended to be supported. You may add code in your own
version that requests these additional privileges.
Q: For some configurations we recognized a poor printing quality (low resolution). What can be done to improve it?
A: The printing quality depends on the browser and Java virtual machine (JVM) you are using. Many applets provide printing only at 72 dpi with Microsofts Java VM (as part of MS Internet Explorer or when started using jview). Since version 2.0.1, TIFFY provides an option to increase the resolution e.g. to 300 dpi (selectable in TIFFY's print dialog), but Microsoft's early implementations of the Java VM used system resources in a very inefficient way during printing. If you are printing huge images or multiple pages on systems with small memory configurations, your system may run out of ressources. In this case you should reduce the resolution to 150 dpi. Sometimes empty or black pages were recognized. It may help to adjust also the resolution in the operating systems print dialog to 150 dpi.
Some (not all) versions of Sun's JDK/JRE provide printing with 72 dpi resolution as well, regardless the resolution of the image or the printer. Early versions of Netscape Navigator print at full printers resolution but have a certain limit for the image size (approx. 3 MB uncompressed). Best printing results with standalone JVMs were achieved with IBMs JDK/JRE 1.1.8 and Sun's JDK/JRE 1.3 (and higher), which printed even very large images at full printers resolution. As of TIFFY version 2.5.1, the new printing classes/methods of Java 2 are used, when available. This requires a Java 2 (JDK 1.2 or higher) compatible environment.
From Sun a Java PlugIn is availabe (free) for several platforms that runs with MS IE and Netscape Navigator - see http://java.sun.com/products/plugin/index.html . With Netscape 6.x and higher this is used by default, with older browsers (MS IE 4.x/ Netscape 4.x) the HTML-page may need to be modified in order to use the Java Plugin instead of the browsers own Java VM. Sun provides a "HTML-Converter" tool for that purpose. Meanwhile Sun offers a new generation of the Java Plugin that can be used in MS IE without modifying the HTML source. Please see the example SwingTiffy.html (requiring the JFC/Swing classes) which demonstrates a HTML page using Sun's Java PlugIn.
Q: Tiffy runs out of memory during large (multi page) printjobs. What can be done to avoid it?
A: You can either use "JDK 1.1 compatible printing" in the print options
dialog or provide parameter /lightprint to set it by default. Although this may speed up
printing and reduce memory requirements significantly, in some environments (depending
on the operating system, the printer driver and the version of the Java runtime environment)
we determined corrupted printouts. So by default, Tiffy will use options of the newer
printing libraries available as of Java 2 (JDK/JRE 1.2 and higher).
Q: How does printing of annotations influence the results?
A: Printing images together with annotations produces some
unexpected results as well:
Due to these problems, currently XOR mode annotation objects are printed in normal overwrite mode
Q: If embedded in a lightweight component like a JInternalFrame, ImagePanel stays in the foreground and hides e.g. swing based menu popups. Some Events are swallowed.
A: If you want to use the ImagePanel in a swing based application, you can modify the source code of class ImagePanel in order to be used as a lightweight component.
Q: What are the different license models for the TIFFY Toolkit for Java?
A: The single user developer license of the TIFFY Toolkit for Java
can be purchased for US$ 350 or EUR 350.
Additional runtime licenses for applications that are developed based on my
are available at the same cost structure as for the TIFFY Viewer. A price table for single or more users using TIFFY installed locally or in an
intranet can be accessed at http://www.tiffy.de/tiffye/Tiffy.html#prices
starting with US$ 29 / EUR 25 for a single user.
It is not allowed to redistribute the
toolkit itself or distribute your application as a toolkit that allows
your customers to develop their own applets / applications based on my