TODO for bpc!=8

This commit is contained in:
Chris Jones 2011-06-23 17:09:42 -07:00
parent 9bfafd5bc9
commit d9d7b3d205

7
pdf.js
View File

@ -3275,8 +3275,11 @@ var CanvasGraphics = (function() {
}
}
if (bitsPerComponent !== 8)
error("Unsupported bpc");
if (bitsPerComponent !== 8) {
TODO("Support bpc="+ bitsPerComponent);
this.restore();
return;
}
var xref = this.xref;
var colorSpaces = this.colorSpaces;