mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add (basic) support for transfer functions to Images (issue 6931, bug 1149713)
This is *similar* to the existing transfer function support for SMasks, but extended to simple image data. Please note that the extra amount of data now being sent to the worker-thread, for affected /ExtGState entries, is limited to *at most* 4 `Uint8Array`s each with a length of 256 elements. Refer to https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G9.1658137 for additional details.
This commit is contained in:
parent
9d3e046a4f
commit
1058f16605
5 changed files with 143 additions and 6 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -45,6 +45,7 @@
|
|||
!issue7492.pdf
|
||||
!issue7544.pdf
|
||||
!issue7507.pdf
|
||||
!issue6931_reduced.pdf
|
||||
!issue7580.pdf
|
||||
!issue7598.pdf
|
||||
!issue7665.pdf
|
||||
|
|
BIN
test/pdfs/issue6931_reduced.pdf
Normal file
BIN
test/pdfs/issue6931_reduced.pdf
Normal file
Binary file not shown.
|
@ -4468,6 +4468,12 @@
|
|||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue6931",
|
||||
"file": "pdfs/issue6931_reduced.pdf",
|
||||
"md5": "e61388913821a5e044bf85a5846d6d9a",
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "annotation-button-widget-annotations",
|
||||
"file": "pdfs/annotation-button-widget.pdf",
|
||||
"md5": "5cf23adfff84256d9cfe261bea96dade",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue