Merge pull request #2571 from mduan/issue2129

Do not error when an EndOfPage segment is encountered in jbig2
This commit is contained in:
Yury Delendik 2013-01-16 07:32:45 -08:00
commit a3dd0098e0
3 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1 @@
http://docs.dpaq.de/1737-itcsamsungapple337_794notice14092012.pdf

View File

@ -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",