convert white shades in grayscale image transparent
Posted: 2014-08-30T17:40:39-07:00
Hi,
I have a grayscale passport size photo of a person.
How to convert all the white shades in that transparent, and keep the black color not transparent.
I have tried the command
from this page viewtopic.php?f=1&t=17526#p65952
but it seems to do the opposite.
Please help.
Thanks
I have a grayscale passport size photo of a person.
How to convert all the white shades in that transparent, and keep the black color not transparent.
I have tried the command
Code: Select all
convert 1.png -background black -alpha copy -type truecolormatte PNG32:1_alpha.png
but it seems to do the opposite.
Please help.
Thanks