0
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>
#include <Magick++.h>
#include <list>
using namespace std;
using namespace Magick;

int main(int argc, char **argv) {

try {
    InitializeMagick(*argv);
    Image my_image("D:\\test.jpg");
    unsigned int x;
    unsigned int columns(x); 

    cout << "width: " << x << endl;

}
catch (Magick::Exception & error) {
    cerr << "Caught Magick++ exception: " << error.what() << endl;
}
getchar(); 
return 0;
}

this doesnt work. pls help

simillar problem here with no answers Magick++ undefined reference to Magick::Image::Columns

0 Answers0