Merge branch 'Exiv2:main' into patch-1
This commit is contained in:
commit
a714596b49
2
.github/workflows/on_PR_windows_matrix.yml
vendored
2
.github/workflows/on_PR_windows_matrix.yml
vendored
@ -153,7 +153,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Cygwin
|
||||
uses: cygwin/cygwin-install-action@v3
|
||||
uses: cygwin/cygwin-install-action@v4
|
||||
with:
|
||||
platform: ${{matrix.platform}}
|
||||
packages: >-
|
||||
|
||||
1
exiv2.md
1
exiv2.md
@ -75,6 +75,7 @@ BMP | - | - | - | - | - | -
|
||||
CR2 | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
|
||||
CR3 | Read | Read | Read | - | - | Read
|
||||
CRW | Read/Write | - | - | Read/Write | - | Read/Write
|
||||
DCP | Read/Write | - | - | - | - | -
|
||||
DNG | Read/Write | Read/Write | Read/Write | - | Read/Write | Read/Write
|
||||
EPS | - | - | Read/Write | | - | -
|
||||
EXV | Read/Write | Read/Write | Read/Write | Read/Write | Read/Write | Read/Write
|
||||
|
||||
@ -2146,8 +2146,10 @@ bool TiffHeaderBase::read(const byte* pData, size_t size) {
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
if (uint16_t t = getUShort(pData + 2, byteOrder_); t != 444 && tag_ != t)
|
||||
return false; // 444 is for the JPEG-XR
|
||||
uint16_t t = getUShort(pData + 2, byteOrder_);
|
||||
if (t != 444 && t != 17234 && tag_ != t)
|
||||
return false; // 444 is for the JPEG-XR; 17234 is for DCP
|
||||
tag_ = t;
|
||||
offset_ = getULong(pData + 4, byteOrder_);
|
||||
|
||||
return true;
|
||||
|
||||
BIN
test/data/pr_2574.dcp
Normal file
BIN
test/data/pr_2574.dcp
Normal file
Binary file not shown.
7
test/data/test_reference_files/pr_2574.dcp.out
Normal file
7
test/data/test_reference_files/pr_2574.dcp.out
Normal file
File diff suppressed because one or more lines are too long
@ -12,6 +12,7 @@ def get_valid_files(data_dir):
|
||||
".avif",
|
||||
".cr3",
|
||||
".crw",
|
||||
".dcp",
|
||||
".dng",
|
||||
".eps",
|
||||
".exv",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user