Bug 390946 - Make metadata accessible through scripting
Summary: Make metadata accessible through scripting
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-23 12:12 UTC by arcnorj
Modified: 2021-08-16 09:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arcnorj 2018-02-23 12:12:33 UTC
I'm trying to create a plugin that will store some metadata to different layers of my image, then process said metadata after exporting the image to the ORA format.

From what I've seen, different kinds of metadata are stored when exporting a PNG file (which is what ORA uses internally), and the most appropriate one seems to be XMP, given that it's basically a key-value map, so being able to either set fields on the existing XMP map or set the full XMP map for a layer at once from the scripting context will be very useful.
Comment 1 wolthera 2018-02-23 14:20:34 UTC
Yes, this is something we want ourselves too, but it'll take some design work on how we're gonna get our exporter to take metadata and use it.
Comment 2 arcnorj 2018-02-23 19:04:01 UTC
Well, as I said, the exporting part seems to be solved. The PNG exporter is already taking into account metadata in a few formats.

What's missing right now it's a way of changing said layer metadata through scripting, unless I didn't understand your point, in which case I apologize :).
Comment 3 Halla Rempt 2021-08-16 09:23:07 UTC
Setting to unassigned, since these are wishes that I don't have time to work on.