-white-threshold seems to have been broken
Posted: 2009-11-28T10:51:54-07:00
I am using white-threshold to lose the background colours on images prior to posting them to a handwritten blog and suddenly there appears to have been a change in white-threshold.
Starting with this image and using ImageMagick 6.5.1-0 (the default with Ubuntu 9.10) I apply: and the image comes out as I would expect like this.
On the same machine, I installed ImageMagick 6.5.8-1 (which appears to be the latest version) and used: The resultant image now looks like this and I cannot see why.
Is this a bug with -white-threshold in 6.5.8? 6.5.4-7 (shipped with Fedora 12) does the same as 6.5.8-1 but there appears to be nothing in the changelog about a deliberate change to -white-threshold between 6.5.1 and 6.5.4.
Any help would be appreciated.
Thanks,
Cliff.
Starting with this image and using ImageMagick 6.5.1-0 (the default with Ubuntu 9.10) I apply:
Code: Select all
convert patrick.png -white-threshold 75% patrick-6.5.1.png
On the same machine, I installed ImageMagick 6.5.8-1 (which appears to be the latest version) and used:
Code: Select all
convert patrick.png -white-threshold 75% patrick-6.5.8.png
Is this a bug with -white-threshold in 6.5.8? 6.5.4-7 (shipped with Fedora 12) does the same as 6.5.8-1 but there appears to be nothing in the changelog about a deliberate change to -white-threshold between 6.5.1 and 6.5.4.
Any help would be appreciated.
Thanks,
Cliff.