On Monday 01 January 2007 13:09, howard chen wrote:
> On 1/1/07, Jørn Dahl-Stamnes <[EMAIL PROTECTED]> wrote:
> > On Monday 01 January 2007 10:05, howard chen wrote:
> > > such as the one like this:
> > >
> > > https://ab.login.yahoo.com/img/ZtfKKOVZFenbN32bIXlEcThdwGPkPbTgTTx.Jemb
> > >o0f0 U3oUXhYv800GBqXa5nJpqTwNoaeLlTyorA--.jpg
> > >
> > > is it possible to generate using IM ?
> >
> > I'm making something like it by using a script:
> >
> > #!/bin/sh
> >
> > convert -size 200x120 xc:lightblue -font Bookman-DemiItalic -pointsize 32
> > -fill blue \
> > -draw "text 10,20 '$1'" \
> > -fill yellow -draw "path 'M 5,5 L 135,5 M 5,10 L 135,10 M 5,15 L 135,15'"
> > \ -trim test.gif
> > convert -wave 4x70 -swirl 10 test.gif $2
>
> Hello, what are the test.gif & the 2nd argument to your script?

The first argument is the text to generate, the second argument is the final 
name of the output file, ie:

# ./script.sh FQXYR image.jpg

You could add a 'rm test.gif' at the end of the script if you want to remove 
the temporary file test.gif.

-- 
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to