17 int main(
int argc,
char **argv)
21 cout <<
"Usage: " << argv[0] <<
" background_color file..." << endl;
31 color =
Color(argv[1]);
35 cout << error_.
what() << endl;
40 char **arg = &argv[2];
45 Image overlay( fname );
47 base.
composite( overlay, 0, 0, OverCompositeOp );
53 cout << error_.
what() << endl;
virtual const char * what() const
class MagickPPExport Color
int main(int argc, char **argv)
void composite(const Image &compositeImage_, const Geometry &offset_, const CompositeOperator compose_=InCompositeOp)
void size(const Geometry &geometry_)
MagickPPExport void InitializeMagick(const char *path_)