mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
TODO for bpc!=8
This commit is contained in:
parent
9bfafd5bc9
commit
d9d7b3d205
1 changed files with 5 additions and 2 deletions
7
pdf.js
7
pdf.js
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue