So I decided to move to the magick++ library to try and speed things up. I configured and compiled from source. it took all night and I haven't slept yet, but it doesnt seem to work. my program compiles fine with no errors, runs, produces no output.
Code: Select all
#include <iostream>
#include <iomanip>
#include <Magick++.h>
using namespace Magick;
using namespace std;
int main(int argc, char **argv)
{
InitializeMagick(*argv);
Image image;
try {
image.read("test.jpg");
//image.crop(Geometry(100, 100, 100, 100));
image.write("test.gif");
}
catch (Exception &error_)
{
cout << "Caught exception: " << error_.what() << endl;
return 1;
}
system("pause");
return 0;
}