Replies: 1 comment 4 replies
-
Sorry, but that's not environment that we support; please see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support |
Beta Was this translation helpful? Give feedback.
4 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.
-
Attach (recommended) or Link to PDF file
opposite-expectation-scan.pdf
Web browser and its version
Brave Version 1.75.180 Chromium: 133.0.6943.126 (Official Build) (64-bit)
Operating system and its version
Ubuntu 24.04 WSL
PDF.js version
4.10.38
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
What is the expected behavior?
It creates a pngs of the pdf
What went wrong?
Greetings,
I was trying to render the page into a canvas but Image or Canvas expected error appeared.
System information:
OS: Ubuntu
Runtime: Bun 1.2.4
canvas: ^3.1.0
pdfjs-dsit: ^4.10.38
Maybe the
CanvasRenderingContext2D
is differ? when I try to pass itAny workaround suggestion?
Full code: https://github.com/PT-Perkasa-Pilar-Utama/ppu-pdf/blob/37d8a7cb9e4882ac006708c44037ef589967980a/src/pdf-reader.ts#L154
Link to a viewer
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions