Hi,

thanks to everybody who helped - finally it works just like I want:

#!/bin/bash
cd /a
for image in *.jpg; do
/usr/X11R6/bin/convert $image tmp.bmp
/usr/X11R6/bin/mogrify -geometry 300x200! tmp.bmp
/usr/X11R6/bin/convert -quality 30 tmp.bmp /b/$image
rm tmp.bmp
done

> I could see no need for an intermediate conversion step.
This was necessary, because I tried to use also "quality 30" and if I
did this directly to a JPG, the result was very bad.

Regards   Hago

_______________________________________________
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to