Tgif X Defaults for Imagemap Generation


Relavent X Defaults:

Tgif*GenerateImageMap: true
This must be set to true to enable imagemap generation.

Tgif*XpmToGif: xpmtoppm %s | ppmtogif
This is the command used to generate the GIF file from an XPM file.

The %s string will be replaced by the full path name of the XPM file.

Tgif*ImageMapFileExtension: map
If this name of the tgif file is tgif-im-demo.obj, the name of the imagemap file would be tgif-im-dmeo.map.

If this X default is set to an empty string, the name of the imagemap file would be tgif-im-demo.

Tgif*GifFileExtension: gif
If this name of the tgif file is tgif-im-demo.obj, the name of the image file would be tgif-im-dmeo.gif.

Tgif*ImageMapFileFormat: NCSA
If this X default is set to NCSA, the map file generated will be in the NCSA imagemap format.

If it is set to CERN, the map file generated will be in the CERN clickable image format.

Tgif*UseXPmVersion1ForImageMap: true
Packages such as xpmtoppm only understands XPM files in the XPM1 format.

Setting this X default to true will force the XPM file printed by tgif to be in the XPM1 format (disregarding the setting of Tgif*XPmOutputVersion X default).



William Chia-Wei Cheng (william@cs.columbia.edu)