On Sun, 1 May 2005 19:46:44 +0200
Stefan Frings <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I like to optimize more than 100 photos (jpeg, 640x480) for web publishing. I 
> noticed thet the files are much smaller when I simply load and overwrite them 
> with gimp with very minor loss of quality.
> 
> I woul dlike to do this with all my pictures in an automatic batch job. Ho 
> can 
> I do this?
> 
> If there is another nice Linux program, then this would also be ok for me but 
> I assume that Gimp can do it - I assume that Gimp can do everything:-)


If you have imagemagick, you can do something like this


#!/bin/bash
for img in `ls *.jpg`
do
          convert -sample 25%x25% $img thumb-$img
done

but read man convert as there are many options




Owen
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to