wxTIFF - a simple viewer for 8-bit pseudocolor/grayscale TIFF images
--------------------------------------------------------------------

Wolfram Gloger
(wmglo@dent.med.uni-muenchen.de)


Prerequisites:

o wxxt-1.66 (Xt port) or wxWindows 1.65 for Motif or XView

o Sam Leffler's TIFF library libtiff.a (any version younger than
  about two years should work)


This is more or less a demo for the private colormap extensions to
wxWindows-1.65 that I posted to the wxwin-users mailing list recently.
If you missed the patches, they are included in this directory in the
wx-1.65.dif file.  To apply, cd to where you unpacked your wx-1.65
files, and do

% patch -p0 < .../wxtiff/wx-1.65.dif
% cd src/x; make -f makefile.unx motif

as usual to compile the libwx_motif library.  Assuming that you
unpacked wxtiff in the `samples' subdirectory of wxwin, you should
then be able to do

% cd .../wxtiff; make motif

in order to compile wxtiff_motif.  This assumes that libtiff.a lies in
/usr/local/lib and the tiff includes are in /usr/local/include.  You
can change this in wxtiff/makefile.unx.

Unless your display supports multiple colormaps, you will get the
`technicolor' effect when one of the TIFF image frames is focused.
Also, private colormaps (and hence the whole wxtiff application) don't
work on TrueColor displays.

Good luck,

Wolfram.
