TODO() for 4-component-per-pixel images

This commit is contained in:
Chris Jones 2011-06-22 02:23:15 -07:00
parent ea9f916ffe
commit 452550ea72

4
pdf.js
View File

@ -3290,7 +3290,7 @@ var CanvasGraphics = (function() {
}
break;
default:
error("unhandled amount of components per pixel: " + numComps);
TODO("Images with "+ numComps + " components per pixel");
}
} else {
var numComps = colorSpace.numComps;
@ -3317,7 +3317,7 @@ var CanvasGraphics = (function() {
}
break;
default:
error("unhandled amount of components per pixel: " + numComps);
TODO("Images with "+ numComps + " components per pixel");
}
}
tmpCtx.putImageData(imgData, 0, 0);