Re: Using GdkPixbuf buffers with GraphicsMagick



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]