diff --git a/src/image.js b/src/image.js index f24d28638..a691bcd8c 100644 --- a/src/image.js +++ b/src/image.js @@ -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) {