Replies: 3 comments 5 replies
-
Is not supported by version 3? 😒 |
Beta Was this translation helpful? Give feedback.
-
So, How do I disable the pdfjs worker? |
Beta Was this translation helpful? Give feedback.
-
The only solution I found was to create a URL object from the URL string. I’m not sure why this works, but it does. And when using the URL object, pdf.js creates a fake worker instead of starting a new worker inside the existing one. I don't know why this happens either—someone else might be able to explain. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Attach (recommended) or Link to PDF file here:
Configuration:
Steps to reproduce the problem:
2.worker.js Render multiple pages in the worker
What is the expected behavior? (add screenshot)
After rendering multiple pages in the web worker, the imageBitmap needs to be returned to the main thread. imageBitmap is then used in the main thread
What went wrong? (add screenshot)
This url is the address of the http pdf file that is accessible in the same domain
But an error was reported
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Beta Was this translation helpful? Give feedback.
All reactions