Page 1 of 1

Image to Background Difference, problem with command

Posted: 2008-01-14T02:30:15-07:00
by DahdeKing
http://www.imagemagick.org/Usage/channels/#mask_diff

When I try to shell execute convert.exe with the following:

Code: Select all

"C:\Documents and Settings\User2\Desktop\Pics\Testing\cyclops.png ( +clone -fx 'p{0,0}' )  -compose Difference  -composite   -modulate 100,0  +matte  C:\Documents and Settings\User2\Desktop\Pics\Testing\difference.png", "C:\Program Files\ImageMagick-6.3.7-Q8\"
or this:

Code: Select all

"C:\Documents and Settings\User2\Desktop\Pics\Testing\cyclops.png \( +clone -fx 'p{0,0}' \)  -compose Difference  -composite   -modulate 100,0  +matte  C:\Documents and Settings\User2\Desktop\Pics\Testing\difference.png", "C:\Program Files\ImageMagick-6.3.7-Q8\"
I get no error and no resulting image :(

What am I doing wrong?

Re: Image to Background Difference, problem with command

Posted: 2008-01-14T19:55:57-07:00
by anthony
then debug it. do operators slowly and see what you are getting. rememebr you could have multiple images in the current image sequence at each point in the processing.