On Sat, Apr 19, 2008 at 9:24 AM, Jamie Wilkinson <[EMAIL PROTECTED]> wrote:
> On 16/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  >
>  >
>  >
>  > On Apr 15, 10:07 am, elliott-brennan <[EMAIL PROTECTED]> wrote:
>  > > Hi Richard, Alex and all.
>  >
>  > > If I try:
>  > >
>  > > for i in `seq 1 999`;do echo j=`printf %04d $i`;
>  > > echo composite -compose atop bubbles.png 0*.png
>  > > image$j.png; done | head
>  > >
>  > > I get:
>  > >
>  > > j=0001
>  > > composite -compose atop bubbles.png 02729.png
>  > > 02730.png image.png
>  > [more similar]
>  > > BUT no composite images???
>  >
>  > G'Day.  Removing the second "echo " might help.
>
>
>  And the first echo; you 're not creating a j variable, so you're probably
>  writing to a file image.png.
>
>  for i in `seq 1 999`; do
>    j=`print %04d $i`
>   composse -compose atop bubbles.png 0*.png image$i.png
>  done | head

And the "| head", which was probably there just to make a point
without having to watch 1000 lines, and replace the "printf" with
seq's "-f" flag:

 for i in `seq -f "%04g" 1 999`; do
  composse -compose atop bubbles.png 0*.png image$i.png
 done

I'm not sure that the "0*.png" argument is what you want either.

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to