Re: Using GdkPixbuf buffers with GraphicsMagick
- From: jcupitt gmail com
- To: "Luka Napotnik" <luka napotnik gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Using GdkPixbuf buffers with GraphicsMagick
- Date: Wed, 7 Jan 2009 14:34:51 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]