16using namespace Magick;
18int main(
int ,
char ** argv)
22 InitializeMagick(*argv);
29 if(getenv(
"SRCDIR") != 0)
30 srcdir = getenv(
"SRCDIR");
36 list<Image> imageList;
37 readImages( &imageList, srcdir +
"test_image_anim.miff" );
39 list<Image> coalescedList;
40 coalesceImages( &coalescedList, imageList.begin(), imageList.end() );
45 cout <<
"Caught exception: " << error_.what() << endl;
48 catch( exception &error_ )
50 cout <<
"Caught exception: " << error_.what() << endl;
56 cout << failures <<
" failures" << endl;