From 691c6d7e7e7667696dcf5996316fba6a120f2e7b Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Wed, 15 Feb 2012 19:13:44 +0100 Subject: Added own exif tag handling in files exif.[ch] --- thumbs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 31a1f89..420547a 100644 --- a/thumbs.c +++ b/thumbs.c @@ -26,6 +26,7 @@ #include #include +#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(); -- cgit v1.2.3-54-g00ecf