Ruud Prein schreef:
Michiel Meeuwissen schreef:
Ruud Prein wrote:
Hi,
Adding text to image does not seem to work in mmbase 1.8 (it did in
1.7.4).
I am using the command:
<mm:image
template="font(mm:fonts/1942.ttf)+fill(#000000)+gravity(NorthWest)+pointsize(32)+text(0,0,'$rword')+f(gif)"/>
In the log I can see that the string is written to a temp file and
in the imagemagick command a @filename is used. The result is the
image with the string of the filename...
By the way, it did work with mmbase 1.7.4.
Is this a bug of am i overlooking something?
Is it the same version of Image-magick too?
Btw, tt could be a bug of course, we don't ask for no reason if
people please
test 1.8 :-)
Michiel
I am use a newer version of ImageMagick: 6.2.6-3. I wil try to test it
from the commandline...
I can't get it to work from the commandline also. Getting the same
result. So it looks like a ImagMagick thing.
What was the reason to write text to an image in that way anyway? (with
-draw "text 0,0 '@filename'")
--
groeten,
Ruud
---------------------------------------------------
Rapenburgerstraat 109, 1011 VL Amsterdam
t 020-3301226, f 020-3301227
www.submarine.nl
www.submarinechannel.com
---------------------------------------------------
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers