Use a more compact typed array to pass the image mask from the worker to the main thread.
This commit is contained in:
parent
dabafb8444
commit
3f533a1cb0
3 changed files with 44 additions and 22 deletions
|
@ -262,8 +262,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||
var inverseDecode = !!decode && decode[0] > 0;
|
||||
|
||||
operatorList.addOp(OPS.paintImageMaskXObject,
|
||||
[PDFImage.createMask(imgArray, width, height,
|
||||
inverseDecode)]
|
||||
[PDFImage.createMask(imgArray, width, height, inverseDecode)]
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue