Mixed Opacity
Posted: 2014-09-18T06:09:48-07:00
Hi,
Complete newbie here struggling ...
I have an image which is 100% opaque.
I would like to convert black to 0% alpha ie fully transparent and all other colours to 50%
This is as far as I managed:
convert 41.png -channel Alpha -evaluate set 50% -transparent black 41c.png
but this creates 0% black alpha and everything else resorts to 100%.
Preferrably as I'm running against lots of images I'd like to do this in one step.
Many thoughts greatfully received
Complete newbie here struggling ...
I have an image which is 100% opaque.
I would like to convert black to 0% alpha ie fully transparent and all other colours to 50%
This is as far as I managed:
convert 41.png -channel Alpha -evaluate set 50% -transparent black 41c.png
but this creates 0% black alpha and everything else resorts to 100%.
Preferrably as I'm running against lots of images I'd like to do this in one step.
Many thoughts greatfully received