mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Merge pull request #11523 from Snuffleupagus/issue-10880
Add a heuristic, in `src/core/jpg.js`, to handle JPEG images with a wildly incorrect SOF (Start of Frame) `scanLines` parameter (issue 10880)
This commit is contained in:
commit
1a97c142b3
6 changed files with 163 additions and 6 deletions
1
test/pdfs/issue10880.pdf.link
Normal file
1
test/pdfs/issue10880.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/3247065/B3-T-G5-50.pdf
|
|
@ -3634,6 +3634,15 @@
|
|||
"lastPage": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue10880",
|
||||
"file": "pdfs/issue10880.pdf",
|
||||
"md5": "244ee5ee3ab88db8d8eb51d4416e2c97",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"firstPage": 7,
|
||||
"lastPage": 7,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue9650",
|
||||
"file": "pdfs/issue9650.pdf",
|
||||
"md5": "20d50bda6b1080b6d9088811299c791e",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue