DATASERV (kdatafmt) functions


LIBRARY ROUTINE

pnm_write - writes a pnm structure to a specified filename.

LIBRARY CALL

int pnm_fdwrite(int fid, pnm *image)

INPUT

none

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

Writes a portable anymap (bitmap,greymap,pixmap) (pnm) file from the pnm structure.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DATASERV/objects/library/kdatafmt/src/pnm.c

SEE ALSO

kformats(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.