Example.cmd is a "wrapper" program.  It demonstrates how to use the contained subroutines.  These subroutines are intented to provide a mechanism for REXX programs to access data stored in TIFF files.

See the comments within Example.cmd to learn how to use the subroutines for your own purposes.  The primary routine is ReadTiffTags.

Example.cmd requires a single parameter, the name of a TIFF file.  For example

	Example Test4bitPalette_PC.tif 

or better yet

	pmrexx Example Test4bitPalette_PC.tif

Each run of example generate a file with the extension .ReadTIFFLog.  This will contain a dump of the tag information within the TIFF file.

I have included version 6 of the TIFF specification document.

Doug Rickman
Global Hydrology and Climate Center
MSFC/NASA

doug@hotrocks.msfc.nasa.gov

