asp/vb: Prob drawing text

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Riticulus

asp/vb: Prob drawing text

Post by Riticulus »

Hello ppl,

i have been trying to solve that problem for all day. Also Searching the forums did not help me.

I am trying to accomplish something very simple: I want to draw some text on an existing .gif file

Thats the code i use for it:

s = oimg.mogrify("-draw", "text 2,2 'xxx'", "c:\web\customers\lwz\symbol\blabla.gif")

The image is processed, as i can see it gets an new timestamp in explorer, however no text shows up.

The image that i try to alter, has been produced successfully by ImageMagic. Its size is 39x72 pixels.

I also tried this:

msgs = oimg.mogrify("-draw", "text 0,5 'X'", "-font", "Arial", "-pointsize", "8", "c:\web\customers\lwz\symbol\blabla.gif")

however same (no) result.

please can someone enlighten me?

Many Tanks and best wishes from Austria
Riticulus

Re: asp/vb: Prob drawing text

Post by Riticulus »

i just found out this code works perfectly as an vbs file, but being put on an asp files it just doesnt write out the text.

all other operations (composite etc..) do work.
Post Reply