how do i subtract one image from another

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?".
User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Apologies. quantumOperator() will subtract a constant value from an image. To subtract one image from another, use compositeImage() with the SubtractCompositeOp operator.