
like this
I get this image in this link
https://docs.gimp.org/2.6/en/gimp-tool-threshold.html
Please help me
Code: Select all
convert -size 256x256 gradient: -black-threshold 25% -white-threshold 75% -fill black -opaque white -fill white +opaque black result.png
Code: Select all
convert -size 256x256 gradient: -fuzz 25% -fill black +opaque "gray(50%)" -fill white +opaque black result2.png
Code: Select all
convert image.png -threshold 80% mmk
convert image.png -threshold 86% -negate mmk2
composite -compose Multiply mmk mmk2 mmk3
Code: Select all
convert image.png -write mpr:img +delete \
\( mpr:img -threshold 80% \) \
\( mpr:img -threshold 86% -negate \) \
-compose multiply -composite result.png