I am trying to turn all the colors on images to black. I test using two different files, I worked perfectly the other turned everything white. No errors or warnings.
commands I used:
convert test.png -threshold 99% result.png
convert test2.png -threshold 99% result2.png
Images and results here:
https://drive.google.com/drive/folders/ ... G03QXAJImT
Possible bug with threshold
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Possible bug with threshold
What version of IM? On what platform?
When using "-threshold", I suggest you restrict the operation to the RGB channels.
If you want to make the entire image opaque black, I suggest you use "-fill Black -colorize 100".
When using "-threshold", I suggest you restrict the operation to the RGB channels.
If you want to make the entire image opaque black, I suggest you use "-fill Black -colorize 100".
snibgo's IM pages: im.snibgo.com