Page 1 of 1

-white-threshold converts to black

Posted: 2008-12-09T22:56:18-07:00
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.

Re: -white-threshold converts to black

Posted: 2008-12-10T06:49:52-07:00
by magick
This bug was fixed recently. We need to get updated ImageMagick Windows binaries released. Look for them tomorrow. Thanks.

Re: -white-threshold converts to black

Posted: 2008-12-10T10:41:21-07:00
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.

Re: -white-threshold converts to black

Posted: 2008-12-10T21:59:18-07:00
by magick
Try ImageMagck 6.4.7-6. The -white-threshold option appears to be working correctly.

Re: -white-threshold converts to black

Posted: 2008-12-11T11:45:02-07:00
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