-compose CopyBlack

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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

-compose CopyBlack

Post by snibgo »

"-compose CopyBlack" inverts the black level. Test case:

Code: Select all

magick rose: -colorspace CMYK ( +clone ) -compose CopyBlack -composite -colorspace sRGB copyblk.png
Image

Tested with IM v7.0.7-28 on Windows 8.1.

It seems to be a bug in composite.c. See thread https://www.imagemagick.org/discourse-s ... =1&t=10322
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -compose CopyBlack

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