From: Justin D'Arcangelo Date: Fri, 24 Jun 2011 01:37:40 +0000 (-0400) Subject: Brought pdf.js back up to the latest revision. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c5b889a47baad3a581cda3861c4137a1f63f8943;p=pdf.js.git Brought pdf.js back up to the latest revision. --- diff --git a/pdf.js b/pdf.js index ffefc61..b2b6401 100644 --- a/pdf.js +++ b/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;