Vite + PDF.js - JpxError: OpenJPEG failed to initialize #20585
Unanswered
cmcnicholas
asked this question in
Q&A
Replies: 1 comment
-
|
I don't know anything about Lines 152 to 156 in 6a4a3b0 I know our docs aren't crazy, but grep (or ripgrep) is a good tool. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, been working with pdf.js a little in vite, all seemed to work well with minimal config e.g. following was required to setup the worker:
When launching some pdf documents that have older jpegs in I get the following error:
I have hunted for
wasmUrlin the docs but can't see where I should configure this option? My understanding its the wasm url ofpdfjs-dist/image_decoders/pdf.image_decoders.mjsAny help appreciated
Beta Was this translation helpful? Give feedback.
All reactions