[cairo] Using gimp c file image

Dan Amelang daniel.amelang at gmail.com
Thu Dec 17 17:40:20 PST 2009

On Thu, Dec 17, 2009 at 2:34 PM, Dominic Lachowicz
<domlachowicz at gmail.com> wrote:
> Hi Michael,
> create_from_png() loads the PNG from a file on disk.
> create_from_stream() allows you to supply your own read func. So, you
> could feed it in data from memory. Or from a URL. Or something like
> that. Cairo will repeatedly call the read_func to request the next N
> bytes of data from your resource.




More information about the cairo mailing list