mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 03:25:28 -04:00
Make sure maskSize bytes are skipped
If the CompressedQuickTime opcode has a mask then this wasn't processed properly. See for example P30946BDC.pict.
This commit is contained in:
parent
df51ef340d
commit
ae0899fe76
@ -1593,6 +1593,7 @@ public final class PICTImageReader extends ImageReaderBase {
|
||||
// ...and more
|
||||
int accuracy = pStream.readInt();
|
||||
int maskSize = pStream.readInt();
|
||||
pStream.skipBytes(maskSize);
|
||||
|
||||
if (DEBUG) {
|
||||
System.out.print("matteSize: " + matteSize);
|
||||
|
BIN
imageio/imageio-pict/src/test/resources/pict/P30946BDC.pict
Normal file
BIN
imageio/imageio-pict/src/test/resources/pict/P30946BDC.pict
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user