- Subject: Re: [SLUG] Re: looking for a command to composite sequentially numbered files
- From: "Jamie Wilkinson" <jaq@xxxxxxxxxxxxxx>
- Date: Sat, 19 Apr 2008 09:24:53 +1000
- Cc: slug@xxxxxxxxxxx
On 16/04/2008, glennrp@xxxxxxxxx <glennrp@xxxxxxxxx> wrote:
>
>
>
> On Apr 15, 10:07 am, elliott-brennan <elliottbren...@xxxxxxxxx> 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