Issue with "-compose lighten" with IM 7.0.8-68

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
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Issue with "-compose lighten" with IM 7.0.8-68

Post by GeeMack »

Using ImageMagick 7.0.8-68 Q16 x64 HDRI on Windows 10. With this release the "-compose lighten" method seems to be broken. With previous versions this command would place the built-in "granite:" image over the built-in "wizard:", and only partially lighten the 128x128 area in the center.

Code: Select all

magick wizard: granite: -gravity center -compose lighten -composite result.png
With the current version – 7.0.8-68 – when using the compose method "lighten", any image composited over another will completely white out the area where the source image is placed on the destination. In other words, the example command leaves a 100% white square in the center of the "wizard:" image.

The issue doesn't occur with the recent release of IMv6 – ImageMagick 6.9.10-68 HDRI – or with previous HDRI releases of IMv7.
Last edited by GeeMack on 2019-10-16T09:14:42-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Issue with "-compose lighten" with IM ImageMagick 7.0.8-68

Post by fmw42 »

I can confirm the same behavior with the same versions as GeeMack on Mac OSX Sierra.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Issue with "-compose lighten" with IM 7.0.8-68

Post by snibgo »

It seems to work fine on v7.0.8-64 on Windows 8.1.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Issue with "-compose lighten" with IM 7.0.8-68

Post by magick »

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