Merge pull request #2571 from mduan/issue2129
Do not error when an EndOfPage segment is encountered in jbig2
This commit is contained in:
commit
a3dd0098e0
@ -897,6 +897,8 @@ var Jbig2Image = (function Jbig2ImageClosure() {
|
||||
pageInfo.combinationOperatorOverride = !!(pageSegmentFlags & 64);
|
||||
args = [pageInfo];
|
||||
break;
|
||||
case 49: // EndOfPage
|
||||
break;
|
||||
case 50: // EndOfStripe
|
||||
break;
|
||||
case 51: // EndOfFile
|
||||
|
1
test/pdfs/issue2129.pdf.link
Normal file
1
test/pdfs/issue2129.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
http://docs.dpaq.de/1737-itcsamsungapple337_794notice14092012.pdf
|
@ -46,6 +46,14 @@
|
||||
"rounds": 1,
|
||||
"type": "load"
|
||||
},
|
||||
{ "id": "issue2129",
|
||||
"file": "pdfs/issue2129.pdf",
|
||||
"md5": "b082dd2cb3648f979fd668f498af14d6",
|
||||
"link": true,
|
||||
"pageLimit": 1,
|
||||
"rounds": 1,
|
||||
"type": "load"
|
||||
},
|
||||
{ "id": "shavian-load",
|
||||
"file": "pdfs/shavian.pdf",
|
||||
"md5": "40ef97a120250b149c4ded383ca328ec",
|
||||
|
Loading…
Reference in New Issue
Block a user