[magick-users] Annotating Images - combinig 2 of Anthony's
examples
Al Bogner
imagemagick-user at ml061.pinguin.uni.cc
Wed Sep 27 16:20:25 CDT 2006
Am Mittwoch, 27. September 2006 01:56 schrieb Anthony Thyssen:
> | How can i combine
> | http://www.cit.gu.edu.au/~anthony/graphics/imagick6/annotating/text_botto
> |m_right.jpg and
> | http://www.cit.gu.edu.au/~anthony/graphics/imagick6/annotating/label_outl
> |ine.jpg
> |
> | I mean, I would like to have the text rotated, but with an "outline"
> | around the font for better reading.
> |
> | I know I have to rotate the font 2 times and to write the font 2 times.
> | Probably it doesn't work here, because I have to do some tasks first
> | before the others follow.
>
> The best way to handle a compound font like that is to draw it
> into a transparent canvas, then rotate and overlay that canvas onto the
> image.
>
> I do something like that for "label_fancy.jpg" though all in the one
> command.
>
> Basically by using a temporary canvas to prepare your font, you can
> modify and warp the font anyway you like, and draw it on the image
> only when you have it the way you want.
Hello Anthony!
It looks, this is not so easy. Maybe you could put this combination as an
example on your page?
http://www.cit.gu.edu.au/~anthony/graphics/imagick6/annotating/text_bottom_right.jpg
has a white background, so your example makes sense. But there are often
images, especially from digicams with lots of different colors. where your
example doesn't make sense, because the text is not readable.
Al
More information about the Magick-users
mailing list