49
edits
(Update question about CMYK colors + add proposal link) |
(Remove ctx.isFilePrint + ctx.DPI -> ctx.dpi) |
||
Line 58: | Line 58: | ||
pDoc.renderPage = function(pageNumber, ctx) { | pDoc.renderPage = function(pageNumber, ctx) { | ||
if (ctx.isPreview) { | if (ctx.isPreview) { | ||
var dpi = ctx. | var dpi = ctx.dpi; | ||
// Only draw images in low resolution for preview | // Only draw images in low resolution for preview | ||
// ... | // ... | ||
} | } | ||
edits