The rowstride variable did not have the correct value (which is image width * bits per pixel).After correcting this, finally I was able to load an image with Magick++ and then load it into a Gdk::Pixbuf.here is a function that takes a Magick::Image object and returns a Gdk::Pixbuf, just for the record:Code:#include <Magick++.h>#include <gtkmm.h>Glib::RefPtr<Gdk::Pixbuf> im_to_pixbuf(Magick::Image i