summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2015-08-29 16:09:11 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2015-08-29 16:09:11 +0200
commit5879c2a9aa8daf148d6ef7694f5e959c5207f40f (patch)
treea91e2e0a06a45ecb3748407402a1df1f51dada56 /sample
parent9f927315eb2536ac37d67ed304c02bcd4ea755c9 (diff)
downloadcataract-5879c2a9aa8daf148d6ef7694f5e959c5207f40f.tar.xz
jpeg-utils: Filter out certain tags from external EXIF file
Turned out that we shouldn't blindly copy all metadata from the supplied external EXIF file since they belong to a different image. This includes image size, JPEG compression parameters, rotation etc. This commit adds tag filtering so that not all tags are copied, retaining the important ones from the gallery image. The list of retained tags is by no means complete and is subject to future tweaks. For the moment this feature is recommended to be turned off (and is by default).
Diffstat (limited to 'sample')
-rw-r--r--sample/src/setup.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/sample/src/setup.xml b/sample/src/setup.xml
index 6b55c16..a2bb2b2 100644
--- a/sample/src/setup.xml
+++ b/sample/src/setup.xml
@@ -32,6 +32,8 @@
<!-- in case of supplied external EXIF data, shall these be written in generated images? -->
<!-- This will make image files carry the same data as used for pages -->
<!-- (allowed values: "yes", "no") default = "no" as this could overwrite important data -->
+ <!-- WARNING: this may possibly import mismatching metadata -->
+ <!-- (think of source RAW file vs. processed JPEG image differences) -->
<write_supplied_exif value="no" />
<!-- don't copy full size (original) images -->