fix typo that breaks ff4
This commit is contained in:
parent
4533902953
commit
41f46ca346
4
pdf.js
4
pdf.js
@ -2397,8 +2397,8 @@ var CanvasGraphics = (function() {
|
||||
var w = image.dict.get("Width");
|
||||
var h = image.dict.get("Height");
|
||||
var tmpCanvas = document.createElement("canvas");
|
||||
tmpCanvas.height = w;
|
||||
tmpCanvas.width = h;
|
||||
tmpCanvas.width = w;
|
||||
tmpCanvas.height = h;
|
||||
var tmpCtx = tmpCanvas.getContext("2d");
|
||||
var imgData = tmpCtx.getImageData(0, 0, w, h);
|
||||
var pixels = imgData.data;
|
||||
|
Loading…
Reference in New Issue
Block a user