Quoting Ville Syrj�l�: > On Thu, Apr 01, 2004 at 03:39:35PM +0200, Igor Wawrzyniak wrote: > > Hello > > > > I need to display an image created with ImageMagick > > library (Magick++, to be specific). I could write it > > to disk and use ImageProvider to read it, but I'd rather > > avoid it, because writing and reading image would create > > some delay. Any suggestions? > > Use IDirectFBDataBuffer::CreateImageProvider().
The data buffer has to be created via IDirectFB::CreateDataBuffer() using DBDESC_MEMORY in the "flags" field along with the "data" and "length" fields set. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
