NoDecodeDelegateForThisImageFormat
Posted: 2007-10-23T09:45:32-07:00
here my code:
#include <Magick++.h>
#include <string>
#include <iostream>
using namespace std;
using namespace Magick;
int main( int /*argc*/, char ** argv)
{
// Initialize ImageMagick install location for Windows
InitializeMagick(*argv);
try {
Image image("granite.png");
}
catch( exception &error_ )
{
cout << "Caught exception: " << error_.what() << endl;
return 1;
}
return 0;
}
And i have this eeror:
Caught exception: button.exe: NoDecodeDelegateForThisImageFormat
Why it is happening?
Please, help me.
#include <Magick++.h>
#include <string>
#include <iostream>
using namespace std;
using namespace Magick;
int main( int /*argc*/, char ** argv)
{
// Initialize ImageMagick install location for Windows
InitializeMagick(*argv);
try {
Image image("granite.png");
}
catch( exception &error_ )
{
cout << "Caught exception: " << error_.what() << endl;
return 1;
}
return 0;
}
And i have this eeror:
Caught exception: button.exe: NoDecodeDelegateForThisImageFormat
Why it is happening?
Please, help me.