User Defined Action at Wiki destroys EXIF-data in jpg

Brian J. Tarricone brian at tarricone.org
Sun Dec 6 21:57:17 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/06/2009 02:32 AM, malenki wrote:
> David Mohr wrote:
> 
>> It is a wiki, so feel free to add your suggestion right on that page.
> 
> Ok, so I'll get the 253rd account $somewhere to edit a line...

Our wiki doesn't require an account to edit.

>> May I suggest to use exifautotran instead though, it does not need any
>> parameters, and figures the rotation out based on the exif data.
> 
> That is only helpful when the camera stores the information with which
> orientation the picture was taken afaik.

True.  Personally, I have a script that does:

jhead -ft -cmd "jpegtran -rotate $amount -outfile &o &i" "$file"

(The -ft just sets the file's mtime to the EXIF time.)  For people who
do have correct embedded orientation info, you can also also do:

jhead -ft -autorot "$file"

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkscGq0ACgkQ6XyW6VEeAnsnowCeJwiKoUnDG+x7gzQCMYh0Xmk6
ONcAn2fGAxeX9JE0MCkIh/L6nSATJnfU
=eQIJ
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list