TODO() for 4-component-per-pixel images
This commit is contained in:
parent
ea9f916ffe
commit
452550ea72
4
pdf.js
4
pdf.js
@ -3290,7 +3290,7 @@ var CanvasGraphics = (function() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error("unhandled amount of components per pixel: " + numComps);
|
TODO("Images with "+ numComps + " components per pixel");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var numComps = colorSpace.numComps;
|
var numComps = colorSpace.numComps;
|
||||||
@ -3317,7 +3317,7 @@ var CanvasGraphics = (function() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
error("unhandled amount of components per pixel: " + numComps);
|
TODO("Images with "+ numComps + " components per pixel");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tmpCtx.putImageData(imgData, 0, 0);
|
tmpCtx.putImageData(imgData, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user