Browse Source

PDF.js version 1.1.390

master v1.1.390
Pdf Bot 10 years ago
parent
commit
161c11e53a
  1. 2
      bower.json
  2. 9
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 9
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.387",
"version": "1.1.390",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

9
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.387';
PDFJS.build = '421289c';
PDFJS.version = '1.1.390';
PDFJS.build = 'f9c2783';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -33754,7 +33754,10 @@ var PDFImage = (function PDFImageClosure() { @@ -33754,7 +33754,10 @@ var PDFImage = (function PDFImageClosure() {
}
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.data = this.getImageBytes(originalHeight * rowBytes,
drawWidth, drawHeight, true);

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.387';
PDFJS.build = '421289c';
PDFJS.version = '1.1.390';
PDFJS.build = 'f9c2783';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

9
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.387';
PDFJS.build = '421289c';
PDFJS.version = '1.1.390';
PDFJS.build = 'f9c2783';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -27353,7 +27353,10 @@ var PDFImage = (function PDFImageClosure() { @@ -27353,7 +27353,10 @@ var PDFImage = (function PDFImageClosure() {
}
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.data = this.getImageBytes(originalHeight * rowBytes,
drawWidth, drawHeight, true);

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.387",
"version": "1.1.390",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

Loading…
Cancel
Save