|
|
|
@ -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) { |
|
|
|
|