[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Using GdkPixbuf buffers with GraphicsMagick
- From: Larry Reaves <larry yrral net>
- To: jcupitt gmail com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Using GdkPixbuf buffers with GraphicsMagick
- Date: Wed, 07 Jan 2009 12:24:44 -0500
On Wed, 2009-01-07 at 14:34 +0000, jcupitt gmail com wrote:
> Hi again,
>
> 2009/1/7 Luka Napotnik <luka napotnik gmail com>:
> > Here's a sample code that fails:
>
> I had a look at the docs and MagickReadImageBlob() probably isn't the
> right bit of API. It expects the data to be in a contaner format, such
> as PNG or JPEG.
>
> ConstituteImage() is probably better:
>
> http://imagemagick.org/api/constitute.php
>
> It might even do the unpack for you, with a bit of poking.
>
> John
Or use gdk_pixbuf_save_to_buffer and pass that to MagickReadImageBlob().
-Larry
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]