Code: Select all
imconvert 0001.jpg -write mpr:cap -size 600x600 xc:white -draw "image Darken 100,100 60,60 'mpr:cap'" -delete 0 test.png
Code: Select all
printf("CloneImage: filename = %s\n", image->filename);
Code: Select all
clone_image=(Image *) AcquireMagickMemory(sizeof(*clone_image));
CloneImage: filename = cap
CloneImage: filename = cap
CloneImage: filename = cap
CloneImage: filename = cap
CloneImage: filename = cap
CloneImage: filename = cap
CloneImage: filename = cap
Seven calls to CloneImage() ???
If I use the simpler command,
Code: Select all
imconvert -size 600x600 xc:white -draw "image Darken 100,100 60,60 '0001.jpg'" test.png
CloneImage: filename = 0001.jpg
CloneImage: filename = 0001.jpg
But why even two? What's going on that a curious pixel pusher should know?
Rick