-
-
Notifications
You must be signed in to change notification settings - Fork 857
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
Added support for loading exif data from PNG "Raw profile type exif" text chunk #1877
Merged
JimBobSquarePants
merged 21 commits into
SixLabors:master
from
jubilant-enigma:je/nonstandard-png-exif
Jan 4, 2022
Merged
Changes from 7 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2c12c78
Added support for loading exif data from pre-2017 pngs from the "raw …
jubilant-enigma d5ddc46
Fixed an incomplete comment
jubilant-enigma c8a191d
Update src/ImageSharp/Formats/Png/PngDecoderCore.cs
jubilant-enigma 7f4c9cd
Update src/ImageSharp/Formats/Png/PngDecoderCore.cs
jubilant-enigma 8b9c334
Moved the ExifHeader property to after the constructor to satisfy Sty…
jubilant-enigma c2b906e
Removed unnecessary temporary allocations.
jubilant-enigma c8e2902
Moved legacy exif data loading test from PngDecoderTests to PngMetada…
jubilant-enigma 0c65e13
Don't save the exif text chunk if it is successfully parsed
jubilant-enigma bf3035f
Don't include unnecessary parameters for helper functions that are on…
jubilant-enigma 2a7ec5d
Moved ExifHeader to a local variable since it's only used in one func…
jubilant-enigma 82e664a
New, faster HexStringToBytes implementation based off the reference s…
jubilant-enigma 0409d96
Merge branch 'is_master/master' into je/nonstandard-png-exif
jubilant-enigma 4c0df9f
Merge branch 'master' into je/nonstandard-png-exif
JimBobSquarePants 76261ff
Update shared-infrastructure
JimBobSquarePants 6dba6cf
Moved HexStringToBytes into a SixLabors.ImageSharp.Common.Helpers.Hex…
jubilant-enigma bdb69d1
Allow reading legacy exif data from uncompressed text chunks as well.
jubilant-enigma 47cd2a4
Merge branch 'je/nonstandard-png-exif' of https://github.com/jubilant…
jubilant-enigma 6cdc595
Merge with remote
jubilant-enigma 7e7ea93
Fixed comments.
jubilant-enigma 95318b1
Update shared-infrastructure
JimBobSquarePants 3c421bb
Merge remote-tracking branch 'upstream/master' into je/nonstandard-pn…
JimBobSquarePants File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
int dataLength = ParseInt32(dataSpan.Slice(0, dataLengthEnd));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing these issues out @turbedi. Ideally I'll fix them sometime next week when I create a PR for IPTC metadata loading from text chunks.