]> git.parisson.com Git - pdf.js.git/commitdiff
TODO() for 4-component-per-pixel images
authorChris Jones <jones.chris.g@gmail.com>
Wed, 22 Jun 2011 09:23:15 +0000 (02:23 -0700)
committerChris Jones <jones.chris.g@gmail.com>
Wed, 22 Jun 2011 09:23:15 +0000 (02:23 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 98768dde0a94cfacd23478a7ee3017d4e6438618..1c30ac72d1da14c9d2ea12557d53644dcfae5670 100644 (file)
--- a/pdf.js
+++ b/pdf.js
@@ -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);