Problem with blur text and transparent BG

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
alexsam
Posts: 1
Joined: 2011-09-05T04:08:44-07:00
Authentication code: 8675308

Problem with blur text and transparent BG

Post by alexsam »

Hi All!

I have a litle problem - when I try to generate the image with text on transparent background I allways get black background.
I'm using command from example with small modification:

Code: Select all

convert -size 320x100 xc:none -font KozGoPro-Bold.otf -pointsize 72 -annotate +30+70 'Anthony' -blur 0x4 -fill gradient:#ff0000-#00ff00 -stroke black -annotate +25+65 'Anthony' font_shadow_fuzzy.jpg
Result image:
Image
Original:

Code: Select all

convert -size 320x100 xc:lightblue -font Candice -pointsize 72 \
           -annotate +30+70 'Anthony'   -blur 0x4 \
           -fill white  -stroke black  -annotate +25+65 'Anthony' \
           font_shadow_fuzzy.jpg
I'm unsing ImageMagick 6.7.2-1 2011-09-05 Q16

Please advise.
Thanks!
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Problem with blur text and transparent BG

Post by Bonzo »

.jpg images do not support transparency try .png
Post Reply