Reference Manual - 1.8.0
IDirectFBSurface   Dump

Dump the contents of the surface to one or two files.

DFBResult 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.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License