Mercurial > hg > forks > geeqie
diff src/preferences.c @ 2066:01d2c966209e
exif autorotate for proofs
Find below a patch which adds auto-rotation of proof images based on image
EXIF information. It is a revision of a proof-of-concept patch I did up for
gqview 2.0.4 which, for well documented reasons, didn't get anywhere after
submission. The patch below is against geeqie 1.0.
The proof auto-rotation feature is controlled by a new setting in the
"convenience" section of the image preferences dialog. This way the
existing behaviour is still available for those who want to use it.
I find this new feature very useful when preparing proofing sheets and I
suspect others would too. Please consider this for inclusion in geeqie.
author | Jonathan Woithe <jwoithe@physics.adelaide.edu.au> |
---|---|
date | Fri, 02 Apr 2010 20:47:34 +0930 |
parents | e477a205c19a |
children | 1c712b43f063 |
line wrap: on
line diff
--- a/src/preferences.c Mon Aug 13 12:25:18 2012 +0200 +++ b/src/preferences.c Fri Apr 02 20:47:34 2010 +0930 @@ -285,6 +285,7 @@ options->update_on_time_change = c_options->update_on_time_change; options->image.exif_rotate_enable = c_options->image.exif_rotate_enable; + options->image.exif_proof_rotate_enable = c_options->image.exif_proof_rotate_enable; options->duplicates_similarity_threshold = c_options->duplicates_similarity_threshold; @@ -1466,6 +1467,9 @@ pref_checkbox_new_int(group, _("Auto rotate image using Exif information"), options->image.exif_rotate_enable, &c_options->image.exif_rotate_enable); + + pref_checkbox_new_int(group, _("Auto rotate proofs using Exif information"), + options->image.exif_proof_rotate_enable, &c_options->image.exif_proof_rotate_enable); } /* windows tab */