Code: Select all
"convert input.png -fill blue3 -colorize 100% output.png"

In Mac, it is working perfectly fine but in ubuntu it is colorizing the whole image to blue.
Mac output ->

Ubuntu output ->

Is there a different command for ubuntu ?
Code: Select all
"convert input.png -fill blue3 -colorize 100% output.png"
Code: Select all
convert input.png -alpha off -fill blue -colorize 100% -alpha on output.png
Code: Select all
convert test.png \
\( -clone 0 +matte -fill blue -colorize 100% \) \
\( -clone 0 -channel a -separate +channel \) \
-delete 0 +matte -compose copy_opacity -composite show: