mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 17:18:07 +02:00
TODO() for 4-component-per-pixel images
This commit is contained in:
parent
ea9f916ffe
commit
452550ea72
1 changed files with 2 additions and 2 deletions
4
pdf.js
4
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue