On Mon, 2007-05-07 at 11:37 +0200, Guillaume Bonillo wrote:

> I am new to scheme scripting.
> What i want to do is open pictures from a directory and apply a very 
> simple macro.
> I can do it manually with the following steps :
>     - open image "the_image.jpg".
>     - save as .... the_image_with_thumbnail.jpg
>     - choose options : q = 0.85 , progressive, and default other options.
>     - check the option : save thumbnail.
>     - Click OK.
>     - close image.

It's acutally a bad idea to do that. When you are opening a JPEG file
and saving it again as JPEG, you are recompressing it and this
recompression means a loss of quality. This can be avoided by using a
tool that manipulates the JPEG file without recompressing the image
data. Such tools are available and they can even rotate the image for
you without decompressing the image data. See for example exiv2
(http://www.exiv2.org/). The manual page says that it can insert


Gimp-user mailing list

Reply via email to