Page 1 of 1

How to increase opacity of a text shadow?

Posted: 2015-01-28T05:17:42-07:00
by skribb
Hi, i have created a text using

Code: Select all

convert -size 500x250 canvas:none -font Roboto-Regular -pointsize 160 -draw "text 90,230 '12.34'" -channel RGBA -blur 0x30 -fill white -draw "text 90,230 '12.34'" clock.png
which renders:
Image

Now, i am happy with the result apart from one thing, and it's the opacity of the shadow. How do i make the shadow less translucent?
The blur amount is correct so it's not a matter of decreasing the blur (which of course will increase the opacity but transform the shadow into a normal text contour).

thanks :D

Re: How to increase opacity of a text shadow?

Posted: 2015-01-28T06:13:27-07:00
by snibgo
After blurring, before writing the white text, you can insert something like:

Code: Select all

-channel A -evaluate Multiply 2 +channel
Multiplying by >1 will make it more opaque, <1 will make it more transparent. Or you can use a gamma function, or other magick.

Re: How to increase opacity of a text shadow?

Posted: 2015-01-28T06:42:15-07:00
by skribb
That's some ockult magick right there! Works perfect, thanks :)