- To: SLUG <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Re: looking for a command to composite sequentially numbered files
- From: "Amos Shapira" <amos.shapira@xxxxxxxxx>
- Date: Mon, 21 Apr 2008 14:40:08 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=H6OExOHw9wbIfrTdK4eQlp7R5RYQS8oQ5L7D9gJiArs=; b=bUlDTEWkJtlMFHdspQt58Lg/fUyKABdcJ8jkZNTXpecg6j8BXEsGU7chhLItyv7iz2hbjFcvzFL213H3c6K2ADusp0lJ/froGhBhfJAs23QgvG/0jTzEJPiy5Y8KaQPKKk8YW7y8XF/0MXwB16bGA6DqOdRdpwgI4uG4B9yP2Y0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dSYeIuTQIvDr7ZtUtPJVYAM283guORYdMlna9UAKBytPYL5WgjgqInh2eEhoNs4TQNVtJPIdop84G1Hn+FFQOqm2gKeedm6sGoxjd4q5w8oCweiS3WKsSOWyJraZE/NocBpwXbZIv1EYuDl+p4RZsE7T5oUGU2fUMz3Ccm3VgYc=
On Sat, Apr 19, 2008 at 9:24 AM, Jamie Wilkinson <jaq@xxxxxxxxxxxxxx> wrote:
> 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
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