diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-25 22:22:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-25 22:22:12 +0100 |
| commit | f3f92c6924c145a4995e3e7c71e237a4f6464c8f (patch) | |
| tree | fe043d4271b008ef4921b3067bc44ea131ead4ca /src/verify.cc | |
| parent | 0a87232762148a3cb97e3650fb219b3b07a05d1d (diff) | |
Check J2K Rsiz (capabilities) word.
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index b6df354c..7a2fd5cd 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -2089,6 +2089,9 @@ dcp::note_to_string(VerificationNote note, function<string (string)> process_str return compose("The JPEG2000 codestream has %1 tile parts in a 2K image instead of 3.", note.note().get()); case VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_4K: return compose("The JPEG2000 codestream has %1 tile parts in a 4K image instead of 6.", note.note().get()); + case VerificationNote::Code::INVALID_JPEG2000_RSIZ_FOR_2K: + case VerificationNote::Code::INVALID_JPEG2000_RSIZ_FOR_4K: + return compose("The JPEG2000 codestream has an invalid Rsiz (capabilities) value of %1.", note.note().get()); case VerificationNote::Code::MISSING_JPEG200_TLM_MARKER: return process_string("No TLM marker was found in a JPEG2000 codestream."); case VerificationNote::Code::MISMATCHED_TIMED_TEXT_RESOURCE_ID: |
