metadata: keep makernotes
(cherry picked from commit 494ae069d4f9d985b65375e104513f9c85453d5b)
This commit is contained in:
parent
77d7e633e5
commit
38d87bae72
@ -207,8 +207,7 @@ 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.Photo.MakerNote"
|
||||
"Exif.Image.Orientation"
|
||||
};
|
||||
for (auto &k : keys) {
|
||||
auto it = dst->exifData().findKey(Exiv2::ExifKey(k));
|
||||
|
Loading…
x
Reference in New Issue
Block a user