User Defined Action at Wiki destroys EXIF-data in jpg

David Mohr squisher at
Sun Dec 6 06:32:35 CET 2009

On Sat, Dec 5, 2009 at 5:54 PM, malenki <osm_ at> wrote:
> At the user defined action "Losslessly Rotating JPEGs"
> in the
> command using jpegtran destroys all EXIF data.
> The script I am using for lossless rotating (no side effects registrered
> up to now) looks like this:
> #!/bin/sh
> #rotate images 270°
> for i;
> do renrot --only-orientation --no-rename --no-trim -r 270 "$i" ;
> done
> The jpegtran command at the wiki should be substituted with one
> using renrot I'd say...

It is a wiki, so feel free to add your suggestion right on that page.

May I suggest to use exifautotran instead though, it does not need any
parameters, and figures the rotation out based on the exif data. I
haven't verified this, but I'm pretty sure that it retains the exif


More information about the Xfce4-dev mailing list