Home| base |src.lib|graphic|fbuffer| FrameBufferLoadPPM Index

FrameBufferLoadPPM

Syntax
struct FrameBuffer *FrameBufferLoadPPM(FILE *fp,char *name);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferLoadPPM function loads a Portable PixMap (PPM) from an open stream.

The image is read from the open stream pointed to by the argument fp

The argument name is a zero terminated string that gives the name to associate with the frame buffer containing the image.

Returns
Returns a pointer to a frame buffer structure containing the image. On error, a NULL pointer is returned.
Errors
n error, a NULL pointer is returned.
Example
None