On Thu, Aug 7, 2008 at 11:30 PM, MVallevand <[EMAIL PROTECTED]> wrote:
> Does anyone know if there a sample of code that will save an ARGB32
> DirectFB surface to a compressed PNG image?  I would like to store a
> screen on an embedded device while DirectFB is temporarily
> de-initialized and there is not enough memory to save the raw data.

I thought I'd answer my own question. I found fbshot at
http://www.sfires.net/fbshot/ which provides a good code base for
writing a png file from a fb and the Write_PNG() function is trivial
to convert.

Martin
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to