How to tile image/text ?

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
aditan22

How to tile image/text ?

Post by aditan22 » 2007-02-16T04:40:31-07:00

Hello,

I want to tile an image or text against another image, I read on Anthony's site http://www.imagemagick.org/Usage/annotating/#wmark_text , but it's for command line, what's the associated command in magickwand php for tile?

thanks.

venalicium

Re: How to tile image/text ?

Post by venalicium » 2008-01-23T10:24:29-07:00

Did you ever figure out a solution to this?

venalicium

Re: How to tile image/text ?

Post by venalicium » 2008-01-23T14:45:36-07:00

Specifically:

convert -size 140x80 xc:none -fill grey \
-gravity NorthWest -draw "text 10,10 'Copyright'" \
-gravity SouthEast -draw "text 5,15 'Copyright'" \
miff:- |\
composite -tile - logo.jpg wmark_text_tiled.jpg

Post Reply