1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 01:58:06 +02:00

Fixes masked JPEG image

This commit is contained in:
Yury Delendik 2014-06-04 15:53:46 -05:00
parent 2b6067c040
commit 6b411b559d
3 changed files with 13 additions and 11 deletions

View file

@ -901,7 +901,7 @@ var JpegStream = (function JpegStreamClosure() {
jpegImage.parse(this.bytes);
var data = jpegImage.getData(this.drawWidth, this.drawHeight,
/* forceRGBoutput = */true);
this.forceRGB);
this.buffer = data;
this.bufferLength = data.length;
this.eof = true;