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

Add more verifiable data #2

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Add more verifiable data #2

merged 1 commit into from
Jun 12, 2024

Conversation

shc261392
Copy link
Collaborator

Changed

  • Update create_c2pa_manifest to include asset tree info and better capture details

…e asset tree info and better capture details

Signed-off-by: James Chien <james@numbersprotocol.io>
@shc261392 shc261392 requested a review from olgahaha June 12, 2024 04:01
'xmp': 'http://ns.adobe.com/xap/1.0/'
},
'EXIF:GPSLatitude': format_geolocation(latitude),
'EXIF:GPSLongitude': format_geolocation(longitude),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether EXIF:GPSLatitude and EXIF:GPSLongitude match the EXIF spec as described in the link C2PA Specification. Other than that, it looks good to me.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olgahaha I took the field key and value format from Adobe Verify Tool Doc and the content could be displayed on Verify Tool.

It's different from the EXIF spec (DMS format), but after a quick search I didn't find a battle-tested library with a convenient method to convert it. Concerning there might be some corner cases I'd prefer staying with current format for now. We can have a task for chaning the formatting to DMS format used in EXIF, write good test to ensure the conversion is correct, and also checking with Adobe c2pa team for their tendency on continuing to support decimal degree format.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@olgahaha Here is the taks for follow-up. https://app.asana.com/0/1201016280880508/1207538253204834/f Since other parts are ok I'll go ahead and merge and release the version.

@shc261392 shc261392 merged commit 785fa1e into main Jun 12, 2024
8 checks passed
@shc261392 shc261392 deleted the feature-verifiable-data branch June 12, 2024 07:51
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

Successfully merging this pull request may close these issues.

2 participants