Merge pull request #4892 from yurydelendik/issue4890

Fixes masked JPEG image
This commit is contained in:
Yury Delendik 2014-06-10 09:16:12 -05:00
commit cff2c3afc1
3 changed files with 13 additions and 11 deletions

View file

@ -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;