Showing
2 changed files
with
2 additions
and
1 deletions
@@ -55,7 +55,7 @@ class PdfJpegInfo { | @@ -55,7 +55,7 @@ class PdfJpegInfo { | ||
55 | final int len = buffer.getUint16(offset); | 55 | final int len = buffer.getUint16(offset); |
56 | offset += 2; | 56 | offset += 2; |
57 | 57 | ||
58 | - if (mrkr >= 0xc0 && mrkr <= 0xcf) { | 58 | + if (mrkr >= 0xc0 && mrkr <= 0xc2) { |
59 | height = buffer.getUint16(offset + 1); | 59 | height = buffer.getUint16(offset + 1); |
60 | width = buffer.getUint16(offset + 3); | 60 | width = buffer.getUint16(offset + 3); |
61 | color = buffer.getUint8(offset + 5); | 61 | color = buffer.getUint8(offset + 5); |
-
Please register or login to post a comment