TIFF8

Purpose: Select an 8 bit color graphics file for image processing output.

Format:    TIFF8    <filename>

Notes:      When no  filename  parameter is given, the file name is  automatically generated using the  INPUT_A  base file name.  TIFF8  files must have an extension of  ' .TIF ' .   Optional palettes may be loaded from external palette files by using the  PALETTE  statement prior to this statement.  The  WINDOW  and  LEVEL  variables are used to scale the data in the OUT variable during a  PROCESS  loop.

Example:

# Produce a color image from an IMG file
# using a specified palette file.

getfile $input_file " Select an Input File "
getfile $output_img " Enter Output TIFF File "
getfile $pal_file   " Enter Palette File "
input window      " Enter Window "
input level       " Enter Level "

palette $pal_file
infile_a $input_file
tiff8 $output_img
process begin
out = ina
process end
exit

See Also:  BMP8    PALETTE