Hello! If I try to edit imported DNG, import it into image editor and then save new version as JPEG, all metadata will be lost. But If I try to save in JPEG2000 then all metada will be preserved. Thank you. Reproducible: Always Steps to Reproduce: 1. Import some DNG image containing some metadata 2. Right click on DNG image and choose "edit.." (F4) 3. Click "import" button to import image into image editor 4. Save in format JPEG or JPEG2000. Actual Results: If user saves in JPEG then metadata will be lost. If user save in JPEG2000 then the metadata is preserved. Expected Results: Preserved metadata
The same problem with PNG
Dmitry, Problem still reproducible using last digiKam 4.2.0 ? Gilles Caulier
This file still valid using last digiKam 5.0.0 ? Gilles Caulier
What's about this file using digiKam AppImage bundle 5.4.0 pre release given at this url : https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM Gilles Caulier
digiKam 7.0.0 stable release is now published: https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/ We need a fresh feedback on this file using this version. Best Regards Gilles Caulier
Git commit 86f907da7edaa01bbb519ddd1da871ac65b773f6 by Gilles Caulier. Committed on 28/12/2020 at 10:32. Pushed by cgilles into branch 'master'. Update internal Libraw to last 0.20.2 to imporve metadata extraction from Exif and Xmp https://www.libraw.org/news/libraw-0-20-2-Release Related: bug 426923, bug 403267 M +1 -0 NEWS M +39 -0 core/libs/rawengine/libraw/Changelog.txt M +3 -3 core/libs/rawengine/libraw/libraw/libraw_types.h M +1 -1 core/libs/rawengine/libraw/libraw/libraw_version.h M +12 -2 core/libs/rawengine/libraw/samples/dcraw_emu.cpp M +1 -1 core/libs/rawengine/libraw/samples/raw-identify.cpp M +7 -2 core/libs/rawengine/libraw/src/decoders/kodak_decoders.cpp M +2 -1 core/libs/rawengine/libraw/src/decoders/unpack_thumb.cpp M +5 -2 core/libs/rawengine/libraw/src/libraw_datastream.cpp M +1 -1 core/libs/rawengine/libraw/src/metadata/identify.cpp M +2 -1 core/libs/rawengine/libraw/src/metadata/makernotes.cpp M +34 -32 core/libs/rawengine/libraw/src/preprocessing/raw2image.cpp https://invent.kde.org/graphics/digikam/commit/86f907da7edaa01bbb519ddd1da871ac65b773f6
Problem not reproducible with digiKam 7.3.0 and Exiv2 0.27.4 https://i.imgur.com/X3dXjaq.png Original DNG files taken from : https://www.photographyblog.com/previews/honor_view20_photos Gilles Caulier