TODO for bpc!=8

This commit is contained in:
Chris Jones 2011-06-23 17:09:42 -07:00
parent 0bd6e5e064
commit ae2e637044

7
pdf.js
View File

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