Merge pull request #9336 from Snuffleupagus/jpx-SIZ
Correctly extract component data from "Image and tile size" (SIZ) markers in JPEG 2000 images
This commit is contained in:
commit
6b2ed504b7
@ -185,8 +185,9 @@ var JpxImage = (function JpxImageClosure() {
|
||||
precision: (data[j] & 0x7F) + 1,
|
||||
isSigned: !!(data[j] & 0x80),
|
||||
XRsiz: data[j + 1],
|
||||
YRsiz: data[j + 1],
|
||||
YRsiz: data[j + 2],
|
||||
};
|
||||
j += 3;
|
||||
calculateComponentDimensions(component, siz);
|
||||
components.push(component);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user