Page 1 of 1

Alpha on already transparent images..

Posted: 2018-03-08T09:35:25-07:00
by dognose
I'm trying make an image with transparency more see though.
I'm using
convert image.png -alpha on -channel a -evaluate set 50% out.png

However, it removes the areas that were completely transparent and makes them 50%..
So, I'm losing the mask..

How can I keep the mask and bump up the rest of the alpha?

Re: Alpha on already transparent images..

Posted: 2018-03-08T10:13:54-07:00
by snibgo
Instead of setting the alpha, you should multiply it, eg by 0.5.

Re: Alpha on already transparent images..

Posted: 2018-03-08T10:44:06-07:00
by dognose
-evaluate multiply 0.5

works great, THANKS!