Trouble migrating from gdk_pixbuf to magickWand
Posted: 2014-12-16T11:57:06-07:00
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,
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,