- unsigned char * data = MagickGetImageBlob(magick_wand,&length);
Code: Select all
MagickSetImageDepth(magick_wand,8);
MagickSetImageFormat(magick_wand,"RGB");
data = MagickGetImageBlob(magick_wand,&length);
To correct for the upside down image, simply call MagickFlipImage().