Reference Manual - 1.8.0
IDirectFBImageProvider   GetSurfaceDescription

Get a surface description that best matches the image contained in the file.

DFBResult GetSurfaceDescription (
  IDirectFBImageProvider   * thiz,
  DFBSurfaceDescription   * ret_dsc

For opaque image formats the pixel format of the primary layer is used. For images with alpha channel an ARGB surface description is returned.

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