1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 23:28:06 +02:00

Merge pull request #7407 from Snuffleupagus/issue-7406

Assign the `quantizationTables` after parsing the entire JPEG image, to prevent issues when the DQT (Define Quantization Tables) marker is encountered after SOF{n} (Start of Frame) markers (issue 7406)
This commit is contained in:
Tim van der Meij 2016-09-04 14:49:01 +02:00 committed by GitHub
commit d03651efff
4 changed files with 23 additions and 1 deletions

View file

@ -30,6 +30,7 @@
!issue7200.pdf
!issue7229.pdf
!issue7403.pdf
!issue7406.pdf
!issue7426.pdf
!issue7439.pdf
!issue7446.pdf

BIN
test/pdfs/issue7406.pdf Normal file

Binary file not shown.

View file

@ -999,6 +999,13 @@
"rounds": 1,
"type": "eq"
},
{ "id": "issue7406",
"file": "pdfs/issue7406.pdf",
"md5": "7a3d322d7c595a36b4470cfb6a54a2b7",
"link": false,
"rounds": 1,
"type": "eq"
},
{ "id": "protectip",
"file": "pdfs/protectip.pdf",
"md5": "676e7a7b8f96d04825361832b1838a93",