On Wed, 2009-01-07 at 14:34 +0000, jcup...@gmail.com wrote: > Hi again, > > 2009/1/7 Luka Napotnik <luka.napot...@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 _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list