I found a work-around for this, which is to write the text to a temporary file and use @/tmp/filename instead of @-
Kind Regards, Noel On 4 Mar 2009, at 22:22, Noel da Costa wrote: > Hi, > > I would expect these two commands to yield the same results, but they > don't. The latter only create the shadow and not the gradient overlay > text. > > > /opt/local/bin/convert -gravity center -size 320x100 > xc:'rgb(100,100,100)' -font Arial-Bold -pointsize 72 -fill black - > annotate +5+5 'Anthony' -tile gradient:black-white -annotate +0+0 > 'Anthony' /tmp/font_shadow.jpg > > printf "Anthony" | /opt/local/bin/convert -gravity Center -size > 320x100 xc:'rgb(204,204,204)' -font Arial-Bold -pointsize 72 -fill > black -annotate +5+5 @- -tile gradient:black-white -annotate +0+0 @- / > tmp/font_shadow.jpg > > > > Thanks in advance, > > > Noel da Costa > a r c c o n t r a c t i n g > +27 (0)76 263 9544 > www.arc2.co.uk > > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users Noel da Costa a r c c o n t r a c t i n g +27 (0)76 263 9544 www.arc2.co.uk _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
