I have used the technique to produce fancy text such as in the on-line convert manual
http://www.imagemagick.org/script/convert.php (The red-coloured word "Magick")
for some time. The convert shipped with openSuSE 11.2 (ImageMagick 6.5.4-8) fails to produce
the shadowing of such text. I downloaded and compiled ImageMagick 6.5.8-6 under
openSuSE 11.2 linux and find a similar problem. There is shadowing, but it is the wrong
size and badly positioned. http://www.windclimber.net/images/fuzzy-magick.png
shows the output with ImageMagick 6.5.8-6 using exactly the command in
the manual.
convert corrupts shadowing of fancy text
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert corrupts shadowing of fancy text
It works for me on IM 6.5.8-6 Q16 Mac OSX Tiger.
convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 \
-draw "text 25,60 'Magick'" -channel RGBA -gaussian 0x6 -fill darkred -stroke magenta \
-draw "text 20,55 'Magick'" tmp2.png
But note that I had to remove trailing spaces after the line continuation \ which is common when copying and pasting from HTML pages.
But I agree the shadowing does not repeat what is in the example. But if you replace -gaussian 0x6 with -blur 0x6 then it works much better and is faster, also.
I suspect a bug in -gaussian.
convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 \
-draw "text 25,60 'Magick'" -channel RGBA -gaussian 0x6 -fill darkred -stroke magenta \
-draw "text 20,55 'Magick'" tmp2.png
But note that I had to remove trailing spaces after the line continuation \ which is common when copying and pasting from HTML pages.
But I agree the shadowing does not repeat what is in the example. But if you replace -gaussian 0x6 with -blur 0x6 then it works much better and is faster, also.
I suspect a bug in -gaussian.
Re: convert corrupts shadowing of fancy text
FYI: if I use xc:white in addition to -gaussian, it works for me as well.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: convert corrupts shadowing of fancy text
this has been fixed in recent releases. see viewtopic.php?f=3&t=15218