Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get raw XMP data #181

Closed
tomgreco opened this issue Feb 28, 2022 · 3 comments
Closed

Get raw XMP data #181

tomgreco opened this issue Feb 28, 2022 · 3 comments

Comments

@tomgreco
Copy link

Description

Since this library is just for reading, it would be nice to be able to get the raw data.
For example the XMP data, if I could get this as raw data I could then modify it and add new tags to it.
Then using a different library write the XMP back to the file.

Sorry if this functionality already exists but I couldn't find anything on it.
I assume getting the raw data for other formats would be difficult but XMP seems pretty straight forward to me.

@mattiasw
Copy link
Owner

Hi,

Yeah, I think it should be pretty straightforward. I will have a look in the coming days.

mattiasw added a commit that referenced this issue Mar 4, 2022
mattiasw added a commit that referenced this issue Mar 4, 2022
@mattiasw
Copy link
Owner

mattiasw commented Mar 4, 2022

This is now released as version 4.3.0. When using expanded: true the raw XMP string is accessible at tags.xmp._raw.

@mattiasw mattiasw closed this as completed Mar 4, 2022
@tomgreco
Copy link
Author

tomgreco commented Mar 5, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants