metadata: removed some harmful tags from the exported images
(cherry picked from commit 94c3e87113384f4c20b10f467a1c35e90709d161)
This commit is contained in:
parent
df39e13cf7
commit
7c39f35317
@ -207,7 +207,9 @@ void Exiv2Metadata::saveToImage(const Glib::ustring &path) const
|
||||
void Exiv2Metadata::remove_unwanted(Exiv2::Image *dst) const
|
||||
{
|
||||
static const std::vector<std::string> keys = {
|
||||
"Exif.Image.Orientation"
|
||||
"Exif.Image.Orientation",
|
||||
"Exif.Image2.JPEGInterchangeFormat",
|
||||
"Exif.Image2.JPEGInterchangeFormatLength"
|
||||
};
|
||||
for (auto &k : keys) {
|
||||
auto it = dst->exifData().findKey(Exiv2::ExifKey(k));
|
||||
|
Loading…
x
Reference in New Issue
Block a user