Image to Background Difference, problem with command

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
DahdeKing

Image to Background Difference, problem with command

Post 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?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Image to Background Difference, problem with command

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply