cleanup
This commit is contained in:
parent
b83d2cdffc
commit
d749b7ccbd
4
pdf.js
4
pdf.js
@ -4792,9 +4792,9 @@ var PDFImage = (function() {
|
|||||||
this.height = dict.get2('Height', 'H');
|
this.height = dict.get2('Height', 'H');
|
||||||
|
|
||||||
if (this.width < 1 || this.height < 1)
|
if (this.width < 1 || this.height < 1)
|
||||||
error('Invalid image width or height');
|
error('Invalid image width or height');
|
||||||
|
|
||||||
this.interpolate = dict.get2('Interpolate', 'I') || false;
|
this.interpolate = dict.get2('Interpolate', 'I') || false;
|
||||||
this.imageMask = dict.get2('ImageMask', 'IM') || false;
|
this.imageMask = dict.get2('ImageMask', 'IM') || false;
|
||||||
|
|
||||||
var bitsPerComponent = image.bitsPerComponent;
|
var bitsPerComponent = image.bitsPerComponent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user