lviff2raw(3)

LIBRARY ROUTINE
lviff2raw - Convert a Khoros image to raw binary data

LIBRARY CALL
#include "vinclude.h"
int
lviff2raw(image,filename)
struct xvimage *image;
char *filename;

INPUT

    image - pointer to image to be written out

    ofile - file descriptor for output file

OUTPUT

    Raw binary data is written to the output file. Note that the Khoros header is no longer present so you'll have to keep track of the image properties yourself!

MODIFICATIONS

John Rasure Sat Mar 25 18:28:22 MST 1989 brought up todate with new xviff

Pascal Adam Fri Jun 15 10:27:24 MDT 1990 Ghosting, Change name from vxvtoraw to viff2raw.

DESCRIPTION
lviff2raw writes ONLY the raw image data present in the input image onto the file attached to the output file descriptor output_fd. The header information is lost, so no further machine independency is guaranteed.

SEE ALSO
viff2raw(1), intro(3), vipl(3), verror(3), vutils(3)

RESTRICTIONS
Not all color map mdels are supported. Much needs to be done here, but this is enough for a most applications.

AUTHOR
Mark Young

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.