Added own exif tag handling in files exif.[ch]

This commit is contained in:
Bert Münnich
2012-02-15 19:13:44 +01:00
parent b752d5c594
commit 691c6d7e7e
6 changed files with 212 additions and 1 deletions

View File

@ -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();