I use this line:
Code: Select all
convert input.png -colorspace lab -channel G -separate -threshold 50% -channel G -separate output.png
How can I fix the output type as 'Grayscale'?
Code: Select all
convert input.png -colorspace lab -channel G -separate -threshold 50% -channel G -separate output.png
Code: Select all
convert input.png -colorspace lab -channel G -separate -threshold 50% -channel G -separate -type grayscale output.png
Code: Select all
convert input.png -colorspace lab -channel G -separate +channel -threshold 50% output.png
Code: Select all
convert input.png -colorspace lab -channel R -threshold +channel -colorspace sRGB result.png
snibgo wrote:I point out the problems in your near-identical thread viewtopic.php?f=1&t=27109