PDF to Image in JavaScript: PDF.js Rendering Guide