Summary: | Krita ignores PNG EXIF data | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Danas <danas.anis> |
Component: | File formats | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla |
Priority: | NOR | ||
Version: | 3.3.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krita/ca695ead656e4dc1cf031dadc86013ba3f228fc2 | Version Fixed In: |
Description
Danas
2018-03-06 22:31:18 UTC
Sample image to test the bug https://drive.google.com/open?id=1Z7P78WYmJWo9GfsU3MtqoFaM0LXZ2ej3 On loading the image I see the following error: krita.core: Missing name attribute for tag "date" I wonder whether that means that the exif info is actually malformed... The metadata parser in Krita is eleven years old by now so it's guesswork to figure out what the code is doing... Hm, that's not on loading, but on showing the metadata editor. I am not good at technical details, but it appears that it just doesn;t want to accept EXIF from PNG. I use Darktable for processing RAW images, so everything I through to Krita is directly from Darktable with no modifications. If have JPG or TIFF it is fine, but if it is PNG then it doesn;t work, exif seems to not exist. But in Gwenview and GIMP 2.9 everything is fine with Exif and it shows it as usually. I wonder if it would be possible to force Krita to always keep Exif data from first layer? One thing I noticed that many times Krita doesn;t load exif once I close and load the .kra file even with JPG and Tiffs. It would be cool if it was possible to force Krita to always keep Exif data from the first loaded layer and have it as an option for krita document so that when you export to JPG or any other format the one wouldn't need to merge all layers and give priority to the first layer metadata. The document could always use the metadata of the first layer. Just a thought. Nowadays I use Krita a lot for photo editing instead of painting which is not primary function of Krita. Git commit fc8234ddc08f60b7f9c4292eed64fb165c326579 by Boudewijn Rempt. Committed on 07/03/2018 at 16:10. Pushed by rempt into branch 'master'. Load metadata in PNG files We lower-cased the keys, then compared it with cased keynames. M +8 -5 libs/ui/kis_png_converter.cpp https://commits.kde.org/krita/fc8234ddc08f60b7f9c4292eed64fb165c326579 Git commit ca695ead656e4dc1cf031dadc86013ba3f228fc2 by Boudewijn Rempt. Committed on 07/03/2018 at 16:10. Pushed by rempt into branch 'krita/4.0'. Load metadata in PNG files We lower-cased the keys, then compared it with cased keynames. M +8 -5 libs/ui/kis_png_converter.cpp https://commits.kde.org/krita/ca695ead656e4dc1cf031dadc86013ba3f228fc2 |