|
|
@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
(typeof window !== 'undefined' ? window : this).PDFJS = {}; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
PDFJS.version = '1.1.387'; |
|
|
|
PDFJS.version = '1.1.390'; |
|
|
|
PDFJS.build = '421289c'; |
|
|
|
PDFJS.build = 'f9c2783'; |
|
|
|
|
|
|
|
|
|
|
|
(function pdfjsWrapper() { |
|
|
|
(function pdfjsWrapper() { |
|
|
|
// Use strict in our context only - users might not want it
|
|
|
|
// Use strict in our context only - users might not want it
|
|
|
@ -33754,7 +33754,10 @@ var PDFImage = (function PDFImageClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
return imgData; |
|
|
|
return imgData; |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.image instanceof JpegStream && !this.smask && !this.mask) { |
|
|
|
if (this.image instanceof JpegStream && !this.smask && !this.mask && |
|
|
|
|
|
|
|
(this.colorSpace.name === 'DeviceGray' || |
|
|
|
|
|
|
|
this.colorSpace.name === 'DeviceRGB' || |
|
|
|
|
|
|
|
this.colorSpace.name === 'DeviceCMYK')) { |
|
|
|
imgData.kind = ImageKind.RGB_24BPP; |
|
|
|
imgData.kind = ImageKind.RGB_24BPP; |
|
|
|
imgData.data = this.getImageBytes(originalHeight * rowBytes, |
|
|
|
imgData.data = this.getImageBytes(originalHeight * rowBytes, |
|
|
|
drawWidth, drawHeight, true); |
|
|
|
drawWidth, drawHeight, true); |
|
|
|