Merge branch 'stancil-pattern' of git://github.com/notmasteryet/pdf.js.git
This commit is contained in:
commit
aac97cd4cd
3
pdf.js
3
pdf.js
@ -6003,8 +6003,7 @@ var PDFImage = (function() {
|
|||||||
}
|
}
|
||||||
return buf;
|
return buf;
|
||||||
},
|
},
|
||||||
applyStencilMask: function fillUsingStencilMask(buffer,
|
applyStencilMask: function applyStencilMask(buffer, inverseDecode) {
|
||||||
inverseDecode) {
|
|
||||||
var width = this.width, height = this.height;
|
var width = this.width, height = this.height;
|
||||||
var bitStrideLength = (width + 7) >> 3;
|
var bitStrideLength = (width + 7) >> 3;
|
||||||
var imgArray = this.image.getBytes(bitStrideLength * height);
|
var imgArray = this.image.getBytes(bitStrideLength * height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user