mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
Ignore, rather than throwing on, Coding style component (COC) markers in JPEG 2000 images (issue 12752)
Similar to other markers that we currently skip, by ignoring the Coding style component (COC) marker we'll at least prevent outright errors (although some JPEG 2000 images may look slightly wrong).
This commit is contained in:
parent
c366390f6b
commit
48a76aea2b
3 changed files with 12 additions and 4 deletions
1
test/pdfs/issue12752.pdf.link
Normal file
1
test/pdfs/issue12752.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://github.com/mozilla/pdf.js/files/5715933/WE2330Ausweis_2.pdf
|
|
@ -2045,6 +2045,14 @@
|
|||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue12752",
|
||||
"file": "pdfs/issue12752.pdf",
|
||||
"md5": "9f8ada17a613d18919714baf684e165f",
|
||||
"rounds": 1,
|
||||
"lastPage": 1,
|
||||
"link": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue7872",
|
||||
"file": "pdfs/issue7872.pdf",
|
||||
"md5": "81781dfecfcb7e9cd9cc7e60f8b747b7",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue