mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
TODO() for 4-component-per-pixel images
This commit is contained in:
parent
d32cbedd06
commit
edb69dff59
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…
x
Reference in New Issue
Block a user