Page 1 of 1

Trouble migrating from gdk_pixbuf to magickWand

Posted: 2014-12-16T11:57:06-07:00
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,