convert corrupts shadowing of fancy text

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
daved

convert corrupts shadowing of fancy text

Post by daved »

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.
User avatar
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

Post by fmw42 »

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.
Petr
Posts: 51
Joined: 2010-01-07T09:37:51-07:00
Authentication code: 8675309

Re: convert corrupts shadowing of fancy text

Post by Petr »

FYI: if I use xc:white in addition to -gaussian, it works for me as well.
User avatar
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

Post by fmw42 »

this has been fixed in recent releases. see viewtopic.php?f=3&t=15218
Post Reply