-white-threshold converts to black

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
ursubaloo

-white-threshold converts to black

Post by ursubaloo »

originally posted here but it looks like a bug:

viewtopic.php?f=1&t=12667

Basically "-white-threshold" works like "-black-threshold" since the following command gives a BLACK canvas.

convert -white-threshold 1 zimage.png zimage.png

I get this bug using the most current version: ImageMagick-6.4.7-5-Q16
After some hunting I found a version in which that command works: ImageMagick-5.5.7-Q16

I've had one other person confirm this bug.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -white-threshold converts to black

Post by magick »

This bug was fixed recently. We need to get updated ImageMagick Windows binaries released. Look for them tomorrow. Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -white-threshold converts to black

Post by fmw42 »

magick wrote:This bug was fixed recently. We need to get updated ImageMagick Windows binaries released. Look for them tomorrow. Thanks.

It is not just a Windows issue. I had it fail for me on IM 6.4.7-5 Q16 Mac OSX Tiger.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: -white-threshold converts to black

Post by magick »

Try ImageMagck 6.4.7-6. The -white-threshold option appears to be working correctly.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -white-threshold converts to black

Post by fmw42 »

magick wrote:Try ImageMagck 6.4.7-6. The -white-threshold option appears to be working correctly.
convert rose: -white-threshold 1 tmp.png

seems to work properly again to make a white (rather than black image) for IM 6.4.7-6 Q16 Mac OSX Tiger
Post Reply