Repository navigation
Conversation
radarhere
reviewed
Nov 18, 2026
Member
|
You can see that two of our tests are failing. |
TheVicky1
force-pushed
the
jpeg2k-metadata
branch
from
November 19, 2026 06:42
11ea5a0 to
813fcd4
Compare
Contributor
Author
|
I tracked down the cause of the two test failures ( Per ISO/IEC 15444-1 (Section I.5.1), when I have updated |
TheVicky1
force-pushed
the
jpeg2k-metadata
branch
2 times, most recently
from
November 19, 2026 07:27
2bff293 to
bb406e4
Compare
TheVicky1
force-pushed
the
jpeg2k-metadata
branch
from
November 19, 2026 08:35
bb406e4 to
9d154d3
Compare
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Resolves #3048.
Changes:
src/PIL/Jpeg2KImagePlugin.py:read(12)check afterjp2hwith aBoxReaderloop that scans subsequent top-level boxes. Readsxmlboxes intoself.info["xml"]and recognizes Adobe XMPuuidboxes (be7acfcb-97a9-42e8-9c71-999491e3afac) as well as XML packets containing XMP metadata (self.info["xmp"]).xml(orxmp) keyword argument when saving JP2 images. Injectsxmlbox(es) immediately following thejp2hheader box according to ISO/IEC 15444-1 Annex I.