hello to all,
I need to create some advice box in an www site.
Resorces are not mine, so www admin give me some limit. i can update only images on site.
Try to create (and update) some information box where i can write some info for site users, eg:
I can valorize text variables, so which is the simplest way to 'build' image above?
thank you for any hints,
m.
best way to assemble this information box
Re: best way to assemble this information box
hello,
try to start from 'blank' sample :
and run these :
first insert day, other insert month :
how 'add bold' in this example (for day string) ?
Thank you,
m.
try to start from 'blank' sample :
and run these :
Code: Select all
convert blank.png -font Arial -pointsize 14 -draw "gravity south fill black text 0,8 '30' " final.png
convert final.png -font Arial -pointsize 10 -draw "gravity south fill black text 0,30 'DEC' fill white text 0,29 'DEC' " final.png
how 'add bold' in this example (for day string) ?
Thank you,
m.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: best way to assemble this information box
either use a bold font or add -stroke black -strokewidth X where X is 1 or 2, etc to make the stroke wider
see http://www.imagemagick.org/Usage/draw/#stroke
see http://www.imagemagick.org/Usage/draw/#stroke
Re: best way to assemble this information box
You should also be able to use -weight:
http://www.imagemagick.org/script/comma ... php#weight
http://www.imagemagick.org/script/comma ... php#weight
Re: best way to assemble this information box
thanks both,
but i'm not able to add your hints to my syntax,
can you help me a bit more ?
m.
but i'm not able to add your hints to my syntax,
can you help me a bit more ?
m.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: best way to assemble this information box
try
convert blank.png -font Arial -pointsize 14 -fill black -stroke black -strokewidth 1 -gravity south -draw "text 0,8 '30' " final.png
convert blank.png -font Arial -pointsize 14 -fill black -stroke black -strokewidth 1 -gravity south -draw "text 0,8 '30' " final.png
Re: best way to assemble this information box
thank you, works perfectly.