I'm trying to open jpeg files and close them again with lower quality
with the intention of reducing the file size, making the files load
quicker in browsers. The code I'm trying to use is ..
gimp -c -i -b \
'(set! theImage (gimp-file-load 1
'(set! Finalpicture (gimp-image-active-drawable theImage))' \
'(gimp-image-set-filename Finalpicture "everyone_together.gimpd.jpg")' \
'(gimp-file-save 1 theImage theLayer
It's getting the first command done okay, but none of the subsequent
ones. What simple but important thing am I missing ?
Gimp-user mailing list