BUG: Let ReadImageInformation succeed for unconfigured codecs - #6913
Merged
blowekamp merged 1 commit intoSep 28, 2026
Conversation
ReadImageInformation only reports metadata derived from tags read independently of codec support, yet threw immediately whenever the compression codec was not configured. Defer that failure to Read(), which is what actually needs decoding. TIFFFindCODEC returns nullptr for schemes with no registered codec, leaving the codec name as the literal string "unknown"; report the raw compression tag value in that case instead. Issue: InsightSoftwareConsortium#6902 (cherry picked from commit c037e7e)
blowekamp
marked this pull request as ready for review
September 28, 2026 12:49
Member
Author
|
@dzenanz These dashboard failures: https://open.cdash.org/builds/11582294/tests?filters=%7B%22all%22%3A%5B%7B%22eq%22%3A%7B%22status%22%3A%22FAILED%22%7D%7D%5D%7D appear to be cause by "out of disk space" rather than this recent commit to main. |
Contributor
|
dzenanz
approved these changes
Sep 28, 2026
blowekamp
merged commit Sep 28, 2026
9bd51fe
into
InsightSoftwareConsortium:release-5.4
17 checks passed
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.
Backport of #6904 (c037e7e) to release-5.4. Closes #6902.
AI assistance