Drawing text on an image

Discuss the conjure program and the Magick Scripting Language (MSL) here. MSL is an XML-based wrapper to the ImageMagick image-processing functions.
Post Reply
hotspur

Drawing text on an image

Post by hotspur » 2008-02-01T05:15:55-07:00

Hello,
I was playing with MSL a bit but I cannot force the <draw> element to actually draw something. This

Code: Select all

<?xml version="1.0" ?>
<msl>
  <image size="250x250">
     <read filename="xc:blue" />
     <draw x="50" y="50" pointsize="40" fill="black" text="Hullo"  />
     <display />
  </image>
</msl>
displays only blue square and nothing else. What I am doing wrong?
I tried to search the Internet but found nothing and from a glance (though a very quick) at the source, <draw> should draw at the current image so I can't see where the problem is. Thanks for any help.
- Vojta
PS: I am using the latest version of IM (compiled today)

pooco

Re: Drawing text on an image

Post by pooco » 2008-11-08T21:23:19-07:00

this was answered by magick here

hotspur

Re: Drawing text on an image

Post by hotspur » 2008-11-09T03:20:01-07:00

Thanks!

Post Reply