Trouble migrating from gdk_pixbuf to magickWand

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
Dams59t
Posts: 1
Joined: 2014-12-16T11:52:43-07:00
Authentication code: 6789

Trouble migrating from gdk_pixbuf to magickWand

Post by Dams59t »

Good evening everyone,

I am currently trying to modify a C program that uses the gdk_pixbuf librabry, to have it use MagickWand instead, and I have a couple issues.

I would like to know how to count the number of channels in an image, to replace "gdk_pixbuf_get_n_channels()".

I also would like to find an equivalent to "gdk_pixbuf_get_pixels()", which returns a pointer to the pixel area of the pixbuf.

Thank you very much,
Post Reply