You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using PDF.js in my project and trying to understand how WebAssembly (WASM) support works with the pdf.worker.js file.
I’ve seen suggestions from various AI tools (like ChatGPT) and online tutorials that say I should download a version of pdf.worker.js that supports WASM. However, I couldn’t find any official documentation or clarification about this.
Specifically:
Does the default pdf.worker.js file provided via the official CDN (e.g., https://unpkg.com/pdfjs-dist/...) already include support for WASM?
Or is there a separate worker file (or configuration) required to enable WASM support?
I’ve searched through the documentation and GitHub repo, but couldn’t find a clear answer.
Any help or clarification from the maintainers or experienced users would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m using PDF.js in my project and trying to understand how WebAssembly (WASM) support works with the pdf.worker.js file.
I’ve seen suggestions from various AI tools (like ChatGPT) and online tutorials that say I should download a version of pdf.worker.js that supports WASM. However, I couldn’t find any official documentation or clarification about this.
Specifically:
Does the default pdf.worker.js file provided via the official CDN (e.g., https://unpkg.com/pdfjs-dist/...) already include support for WASM?
Or is there a separate worker file (or configuration) required to enable WASM support?
I’ve searched through the documentation and GitHub repo, but couldn’t find a clear answer.
Any help or clarification from the maintainers or experienced users would be greatly appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions