diff options
author | Bert Münnich <ber.t@gmx.com> | 2012-02-15 19:13:44 +0100 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2012-02-15 19:13:44 +0100 |
commit | 691c6d7e7e7667696dcf5996316fba6a120f2e7b (patch) | |
tree | 9f15fc97b55a8536d24fce3aad1646a05d686fb2 /thumbs.c | |
parent | b752d5c594d5aac083cc563e8c7e575baf7b8edc (diff) | |
download | nsxiv-691c6d7e7e7667696dcf5996316fba6a120f2e7b.tar.zst |
Added own exif tag handling in files exif.[ch]
Diffstat (limited to 'thumbs.c')
-rw-r--r-- | thumbs.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,7 @@ #include <unistd.h> #include <utime.h> +#include "exif.h" #include "thumbs.h" #include "util.h" #include "config.h" @@ -254,6 +255,8 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file, imlib_free_image_and_decache(); return false; } + if (STREQ(fmt, "jpeg")) + exif_auto_orientate(file); w = imlib_image_get_width(); h = imlib_image_get_height(); |