Lines Matching refs:img
10088 var img = pageView.canvas;
10090 if (!img) {
10104 if (img.width <= 2 * canvas.width) {
10105 ctx.drawImage(img, 0, 0, img.width, img.height, 0, 0, canvas.width, canvas.height);
10117 while (reducedWidth > img.width || reducedHeight > img.height) {
10122 … reducedImageCtx.drawImage(img, 0, 0, img.width, img.height, 0, 0, reducedWidth, reducedHeight);
15475 var img = document.createElement('img');
15476 img.style.width = printItem.width;
15477 img.style.height = printItem.height;
15482 img.src = _pdfjsLib.URL.createObjectURL(blob);
15485 img.src = scratchCanvas.toDataURL();
15489 wrapper.appendChild(img);
15492 img.onload = resolve;
15493 img.onerror = reject;