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

FrameBufferSavePPMAlpha

Syntax
int FrameBufferSavePPMAlpha(struct FrameBuffer *ptr,FILE *fp);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferSavePPMAlpha function saves the alpha channel of a frame buffer as a Portable PixMap (PPM) to an open stream.

The argument ptr points to the structure containing the frame buffer. The Portable PixMap is written to the open stream pointed to by the argument fp.

Returns
Returns zero on success. On error, (-1) is returned.
Errors
On error, (-1) is returned.
Example
None