inlineGIF format. To really take advantage of the zoom feature you need high resolution documents in scanned TIFF format. Note that the TIFF documents are in addition to the GIF documents. This is because Web servers can display only GIF images inline. The zoom routines require that you have Jeff Poskanzer's PBM libraries and Sam Leffler's TIFF library. The latter is needed only if you use the TIFF format. As is the case with the basic installation, you will need a working knowlege of perl and Unix to complete this installation.
The installation procedure includes the following steps:
The source files for the TIFF zoom utility reside in the
Compile the executable using the Makefile.
The Makefile uses the
gcc compiler and assumes that the PBM
and TIFF libraries are on the load path for the compiler, or
are in the directory
Utilities/lib. If you need to
install these libraries on your system, you can place them in
The binary is automatically installed in Utilities/bin.
The utility itself does not assume a particular resolution for the
input TIFF files or output GIF files; the constants that define the
resolutions must be set in the pre-installation configuration file
Config/option_zoom.config as described in the next section.
<options> <zoom>option_zoom.config</zoom> </options>Next, edit this zoom options configuration file: Config/option_zoom.config. Make sure that zoom_enable is true, and that the other variables are correct for your scanned images:
$zoom_enabled- set to 1 (true) to enable the zoom feature.
$inline_file_dpi- DPI of inline files (GIF)
$scanned_file_dpi- DPI of scanned files (TIFF)
$zoom_image_width- The desired width of the magnified image in pixels
$zoom_image_height- The desired height of the magnified image in pixels
$zoom_magnification_factor- How much magnification to apply
When you have finished editing this file, run perl -c <config_utilities.pl> to check for syntax errors. Next, from the Config directory, type auto_config.pl. (If you need a review of the autoconfiguration process, check out the basic installation instructions .) Finally, "reload" the dienst code with a kill -USR1 signal to the current Dienst process.
Pass /tmp/* <path>/dienst/tmp/*Remember to send a kill -HUP to the CERN server to force it to reload the httpd config file.
Up to Main Information Menu