Merge pull request #4892 from yurydelendik/issue4890
Fixes masked JPEG image
This commit is contained in:
commit
cff2c3afc1
3 changed files with 13 additions and 11 deletions
|
@ -903,7 +903,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