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:
parent
2b6067c040
commit
6b411b559d
3 changed files with 13 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue