Re: adding transparency to grayscale images?
Posted: 2007-07-27T04:43:22-07:00
Code: Select all
convert input.png -negate alpha.png
composite -compose copyopacity alpha.png input.png -depth 8 output.png
so I use
Code: Select all
pngcrush -c 4 output.png gray-alpha.png