[ create a new paste ] login | about

Link: http://codepad.org/xuwO4FE1    [ raw code | fork ]

C, pasted on May 21:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# I am trying to add some text to a background image. The text should have
# a stroke outline, outer glow and should be raised (beveled)

# this makes things work, however there is no beveling and the glow is a 
# solid color
convert left_menu_bg.jpg -font arialbd.ttf -pointsize 24 -gravity Center -stroke '#ffffbe' -strokewidth 8 -annotate 0 'Home' -fill white -stroke '#113b02' -strokewidth 1 -annotate 0 'Home' neon_sign.gif

# When I try to add the beveling and glowing, the whole image (background
# and all) is blurred and beveled and not the layers I want them to be 
# applied to
convert left_menu_bg.jpg -font arialbd.ttf -pointsize 24 -gravity Center \( -stroke '#ffffbe' -strokewidth 8 -annotate 0 'Home' -blur 0x8 \) \( -fill white -stroke '#113b02' -strokewidth 1 -annotate 0 'Home' -raise 1 \) neon_sign.gif

# Also, if there is a way to set the opacity of the glow layer to 75% that
# would be awesome.


Create a new paste based on this one


Comments: