Artur Adib 14 years ago
parent
commit
de33e44b09
  1. 2
      src/image.js

2
src/image.js

@ -199,7 +199,7 @@ var PDFImage = (function pdfImage() { @@ -199,7 +199,7 @@ var PDFImage = (function pdfImage() {
var length = width * height * 4;
// Is there a one-to-one correspondence between pixels in the loop below?
if (length !== 4*comps.length/3)
if (length !== 4 * comps.length / 3)
error('Number of image pixels mismatch (RGB)');
for (var i = 0; i < length; i += 4) {

Loading…
Cancel
Save