LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   need software to batch-rotate jpeg's based on exif data (https://www.linuxquestions.org/questions/linux-software-2/need-software-to-batch-rotate-jpegs-based-on-exif-data-298764/)

mfcarroll 03-07-2005 12:24 PM

need software to batch-rotate jpeg's based on exif data
 
I'm looking for some softare to rotate jpeg images based on the exif data. My digital camera stores rotation information, and when I was using windoze the import software would automatically rotate the images. Now i'm copying the images directly using a flash card reader, and I have to rotate the images manually, which when you're as trigger-happy as me with a digital camera can be a lot of work.

So here's my question... does anyone know of software that can automatically (with no or minimal intervention)

- step through an entire folder (or folders) of jpeg images one by one
- examine the exif data to determine if rotation is needed
- perform lossless rotation on images that are incorrectly orientated
- (optional, but would be nice) also support batch-resizing

...any ideas would be greatly appreciated - i've been searching for an hour or so now with no luck.

Thanks
Matthew

Komakino 03-07-2005 12:42 PM

A bash script using convert (part of ImageMagick) could do most of that...I don't understand exif data though. If I knew what that was and how to access it I might be more help.

Komakino 03-07-2005 12:49 PM

I've just come across this online. It supports EXIF lossless cropping / rotation. It needs Perl/Tk. I don't know if it supports batch operation.

http://mapivi.sourceforge.net/mapivi.shtml

acid_kewpie 03-07-2005 02:39 PM

i just instaleld exiftags, which can dum pout exif data to console in a pretty parsable format, should be a doddle to wrap that and convert into a tiny bash script.


All times are GMT -5. The time now is 07:17 AM.