=?iso-8859-1?q?J=F8rn_Dahl-Stamnes?= on  wrote...
| 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.
| 
You could remove the "test.gif" all to gether with....

   ...  -trim +repage -wave 4x70 -swirl 10  "$2"

Note that your shoud QUOTE shell arguments, and your second convert
should have read the image in before modifying it, otherwise you can not
gurantee that the wave is done before the swirl.

PPS: Yes I am back after a heavy family christmas.  I hope all of you
had a good christmas and new year.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  I'm feeling very tetrahedral today. (As I think about tetra kites)
                                                      --- Anthony Thyssen
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to