![]() | Reference Manual - 1.0.0 | ||
|
Dump the contents of the surface to one or two files.
Dump ( | ||||
IDirectFBSurface | * | thiz, | ||
const char | * | directory, | ||
const char | * | prefix | ||
); |
Creates a PPM file containing the RGB data and a PGM file with the alpha data if present.
The complete filenames will be directory/prefix_####.ppm for RGB and directory/prefix_####.pgm for the alpha channel if present. Example: "/directory/prefix_0000.ppm". No existing files will be overwritten.