Bug 363960 - Metadata lost after image processing and saving in jpeg
Summary: Metadata lost after image processing and saving in jpeg
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: 3.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-04 21:31 UTC by Roman
Modified: 2016-10-29 15:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2016-06-04 21:31:15 UTC
When I process any image with metadata (exif), especially add, copy or edit layers and save it in jpeg, I lose all of them. No exif found in saved jpegs. 

Reproducible: Always

Steps to Reproduce:
1. Open image with metadata (any photo for example)
2. Copy layer or paste a new one.
3. Save in jpeg. 
4. Check if exif data is visible in any image viewer (I use geeqie). 

Actual Results:  
No exif data visible in processed and saved jpeg file.

Expected Results:  
Existent metadata must be saved if I didn't hide them. 

Krita 3, Krita 2.9, Krita 3 test. 
Ubuntu 16.04.
2x AMD Opteron with 8 cores, 16 gb ram, Nvidia Quadro 4000.
Comment 1 Halla Rempt 2016-10-29 15:02:53 UTC
Hi Roman,

I'm sorry, but this is not a bug. Metadata is associated with a layer, not with an image. If you add another layer, and save to .kra, the metadata associated with the layers will be kept. If you export your image to jpg without explicitly merging down the layers so you have only one layer left, Krita will only save the root group layer, and that doesn't have any metadata.

If you want the metadata to be saved to jpeg, you should explicitly and manually merge down your layer stack; Krita will ask you how the metadata of the layers should be merged to one set of metadata, and then will save the result correctly.