Repository navigation
Conversation
wilx
force-pushed
the
fix-jxr-metadata
branch
from
November 4, 2026 22:26
d7f594b to
27e3d48
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #9535 +/- ##
==========================================
+ Coverage 65.28% 65.86% +0.58%
==========================================
Files 117 118 +1
Lines 21859 22357 +498
Branches 10806 11104 +298
==========================================
+ Hits 14270 14726 +456
+ Misses 5324 5311 -13
- Partials 2265 2320 +55 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Use a private TIFF-based JPEG XR adapter for primary-image metadata edits and explicit category clears across image and preview directories. Validate range ownership and protected fields, verify temporary output, and retain compressed image and alpha streams. Reject direct TIFF writes to JPEG XR. Fixes Exiv2#3162.
Cover multi-image edits, category clears, alpha streams, malformed layouts, raw XMP copying, protected fields and failure-before-transfer behavior. Register focused unit tests in CMake and Meson and add a CLI regression. Fixes Exiv2#3162.
Explain primary-image edits, global category clears, protected fields, raw XMP support and the additive ImageFactory JPEG XR identity. Fixes Exiv2#3162.
Apply clang-format 20 to the TIFF reader member declarations so trailing comments remain aligned after adding JPEG XR validation state.
Replace indexed vector subscripts with at() when assembling image directories and verifying metadata, profiles, packets, and streams. Address the CodeQL unsafe-vector-access review findings.
wilx
force-pushed
the
fix-jxr-metadata
branch
from
November 22, 2026 15:24
56ad36f to
c674ebe
Compare
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
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.
Fixes #3162.
JPEG XR files previously went through the TIFF writer, which could discard compressed image data when rebuilding metadata. Add a private TIFF-based JPEG XR adapter that preserves image and alpha streams without decoding or recompression.
ImageType::jxrfactory identity.Validated on Linux: full serial debug CTest (8/8 groups), focused JXR/TIFF tests in debug, no-XMP, ASan/UBSan, Meson and BMFF/video-disabled builds, and the JXR CLI regression. Independent decoding and byte comparisons confirm stream preservation, including multiple images and both alpha layouts.
AI assistance: developed with OpenAI Codex.