I'm currently using OpenCV to capture some live images from a webcam and I need to save out one of the images to use with one of your MagickWands.
I've tried several different suggestions on the internet but hoped someone here could shed some light on the subject.
I've tried this which gives me just a blank image
Code: Select all
IplImage FreshImage(saveImage);
MagickWand* wand(NewMagickWand());
MagickReadImage(wand, "C:/Users/mharrison/Desktop/QRBlocks/14Pix131QRNoBorder.jpg");
MagickImportImagePixels(wand, 0, 0, FreshImage.width, FreshImage.height, "BGR", CharPixel, FreshImage.imageData
I could list a few more but I'd rather ask he you guys would achieve this.
Thanks for any help you can provide.