Possible bug IM 7 magick composite does not respect the mask image

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25664
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Possible bug IM 7 magick composite does not respect the mask image

Post by fmw42 » 2019-11-02T15:56:20-07:00

IM 7 magick composite does not respect the mask image, though it works fine with IM 6 composite or IM 7 magick ... -composite

Input:
Image

Image

Image

IM 7.0.9-1

Does Not Work:

Code: Select all

magick composite lena.jpg zelda1.jpg circle.png lena_zelda_circle7a.png
Image

Works:

Code: Select all

magick zelda1.jpg lena.jpg circle.png -composite  lena_zelda_circle7b.png
Image

IM 6.9.10-70

Works:

Code: Select all

composite lena.jpg zelda1.jpg circle.png lena_zelda_circle6.png
Image

User avatar
magick
Site Admin
Posts: 11077
Joined: 2003-05-31T11:32:55-07:00

Re: Possible bug IM 7 magick composite does not respect the mask image

Post by magick » 2019-11-12T18:01:33-07:00

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.

Post Reply