This patch archive contains the one .c file and patch file necessary
to update xv-3.10a to support datfiles, a standard devised at MIT by
the CIPG and DSPG.  If you don't know what datfiles are, you probably
don't need this patch, and won't miss it.

Instructions:
Move xvdat.c to the xv-3.10a directory, and apply patch.  Compile as usual.

Current version supports loading of 3 channel (24 bit) and 1 channel
(8 bit) datfiles with 1 set (no motion video support yet, I'm afraid :-), 
and saving of 3 channel datfiles.  Make sure when you save that XV is
in 24-bit mode, or else the image will look funny.  This is because
datfiles don't support saving colormaps.  To open a datfile, go to the
datfile image directory and select the "descriptor" file.  XV will 
automatically recognize that this descriptor file is a datfile descriptor
and do the right thing.  I have XV check for the key phrase "(_data" in
the descriptor, and also the filename.  If your descriptor does not 
begin with "(_data" (it should, but there are legal ways of making 
descriptors that do not begin with that sequence), XV will not recognize it.

This modification has been compiled and tested on the linux platform.

Enjoy!

-Andrew Huang
bunnie@mit.edu
ahuang@qualcomm.com

 Last modified by ahuang@hdtv-lab.qualcomm.com Mon Sep  2 18:21:49 1996
