Sign up now! · Forgot password?
RSS/Atom feed Twitter

script for 90 degree rotation batch processing

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

script for 90 degree rotation batch processing Olaf.Herzog@t-online.de 18 Jan 23:20
  script for 90 degree rotation batch processing Sven Neumann 19 Jan 00:11
script for 90 degree rotation batch processing Frank 19 Jan 23:20
  script for 90 degree rotation batch processing Michael Schumacher 19 Jan 23:46
   script for 90 degree rotation batch processing JaiMoysey 14 Jan 09:54
Olaf.Herzog@t-online.de
2005-01-18 23:20:16 UTC (over 17 years ago)

script for 90 degree rotation batch processing

Hello,

I wonder whether somebody has a script available (or something easy to modify/adjust) that allows me to do the following: 1. I can select a couple of jpeg image files in the Windows Exporer or Linux KDE filemanager (or under another Linux desktop). 2. I can kick-off an operating system level script (e.g. by having added the script to the file context menu). The script takes the list of jpeg filenames as argument(s). It openes gimp and runs a script within gimp that openes each file (sequentially), performs a 90 degree rotation and saves each file again under the same name (or under a different name by appending something to the filename) at the same image size / quality. It is probably easier to start / end gimp for each and every file to be modified, as the list manipulation can be done on operating system level. More efficient is certainly to work through ths list within gimp. In the end I don't care too much, as I would expect to take a coffee break when running the script anyway...

This would be a user-friendly way to look at thumbnail previews of images taken with a digital camera, select those images from the directory that have not been taken
in landscape orientation and use gimp to rotate them. By modifying the script other features for batch processing of these images could be added.

Thanks & Best Regards,
Olaf

Sven Neumann
2005-01-19 00:11:09 UTC (over 17 years ago)

script for 90 degree rotation batch processing

Hi,

"Olaf.Herzog@t-online.de" writes:

This would be a user-friendly way to look at thumbnail previews of images taken with a digital camera, select those images from the directory that have not been taken in landscape orientation and use gimp to rotate them. By modifying the script other features for batch processing of these images could be added.

Using GIMP to rotate JPEG images is actually a bad idea since GIMP would have to recompress the file, introducing a quality loss. There are tools that allow to losslessly rotate JPEG images, even automatically provided that your camera has an orientation sensor and adds that info the image's EXIF data. jpegtran and exiftran are such tools.

Sven

Frank
2005-01-19 23:20:44 UTC (over 17 years ago)

script for 90 degree rotation batch processing

Using GIMP to rotate JPEG images is actually a bad idea since GIMP would have to recompress the file, introducing a quality loss. There are tools that allow to losslessly rotate JPEG images, even automatically provided that your camera has an orientation sensor and adds that info the image's EXIF data. jpegtran and exiftran are such tools.

IIRC, gimp knows lossless rotation since version 2.0. I had to use it often and avoided gimp prior to this version. You may realize the speed with which gimp rotates ... reencoding has gone :)

Regards, Frank

Michael Schumacher
2005-01-19 23:46:24 UTC (over 17 years ago)

script for 90 degree rotation batch processing

Frank wrote:

Using GIMP to rotate JPEG images is actually a bad idea since GIMP would have to recompress the file, introducing a quality loss. There are tools that allow to losslessly rotate JPEG images, even automatically provided that your camera has an orientation sensor and adds that info the image's EXIF data. jpegtran and exiftran are such tools.

IIRC, gimp knows lossless rotation since version 2.0. I had to use it often and avoided gimp prior to this version. You may realize the speed with which gimp rotates ... reencoding has gone :)

Recoding happens when the image is saved....

HTH, Michael

2022-01-14 09:54:59 UTC (4 months ago)
postings
2
contact
Send private message

script for 90 degree rotation batch processing

Script for 90 degree rotation batch processing - Rotating a batch can dramatically increase its yield. This article breaks down how you can do this in batch processing to maximise your yields and you can visit https://www.makediploma.com/ to buy a fake degree easily. A 90 degree rotation includes rotating all of your syrup kits, using an empty Batch Processor, and then filling it up with a new batch and running the rest of the batch through your batch processor.