Skip to content

Support renderPageAsImage in Cloudflare Workers #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
Oreoezi opened this issue Apr 7, 2024 · 4 comments
Open
1 task

Support renderPageAsImage in Cloudflare Workers #10

Oreoezi opened this issue Apr 7, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@Oreoezi
Copy link

Oreoezi commented Apr 7, 2024

Describe the feature

Title says it all.

Additional information

  • Would you be willing to help implement this feature?
@johannschopplich johannschopplich changed the title renderPageAsImage support in Cloudflare Workers Support renderPageAsImage in Cloudflare Workers Apr 7, 2024
@johannschopplich johannschopplich added enhancement New feature or request help wanted Extra attention is needed labels Apr 7, 2024
@Soviut
Copy link

Soviut commented May 8, 2024

This would be really handy for situations where there are embedded images or complex layouts that don't extract to text. Then the image could be used to run through TesseractJS to do OCR.

@samal-rasmussen
Copy link

I just want to create a thumbnail of a pdf by creating an image of the first page.

@johannschopplich johannschopplich added wontfix This will not be worked on and removed enhancement New feature or request help wanted Extra attention is needed labels May 1, 2025
@johannschopplich
Copy link
Collaborator

As much as I'd love to see this arrive in unpdf, the current workerd limitations make it impossible to run @napi-rs/canvas in a serverless environment.

I will keep this issue open if the technical landscapes changes in the following years. But for now, this is not possible.

@adenvt
Copy link

adenvt commented May 10, 2025

This also look promising canvaskit-wasm. Official port of Skia in wasm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants