Skip to content
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

All pages not loading #1144

Open
venkat012chinna opened this issue Oct 29, 2024 · 5 comments
Open

All pages not loading #1144

venkat012chinna opened this issue Oct 29, 2024 · 5 comments

Comments

@venkat012chinna
Copy link

venkat012chinna commented Oct 29, 2024

Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

Description:

When trying to load 79000 pages of a pdf into pdf viewer, Its telling all page rendering restricted due to performance issue. I wanted to render all pages. the show-all-pages also is set to true.
Is there any other way to display all pages when there are large number of pages?
@VadimDez Can you please have a look on this.

@shamoon
Copy link
Contributor

shamoon commented Oct 29, 2024

79000 pdf pages is a lot to ask of JavaScript

Doesn’t really seem like an actionable bug report.

Also, the option is ‘show-all’

@venkat012chinna
Copy link
Author

Thats okay. The option i used the same as provided by the documentation, but no luck.

But by chance… is there any other way to render all pages? And what is the maximum pages it will show?

@shamoon
Copy link
Contributor

shamoon commented Oct 29, 2024

I have no idea, but I assume it's more a factor of the resources of the machine not this software. Especially considering this package is fundamentally a wrapper for https://mozilla.github.io/pdf.js/

Maybe close this is and try the 79,000 page PDF there https://mozilla.github.io/pdf.js/web/viewer.html

@venkat012chinna
Copy link
Author

Not closing this for now, but go and try there to upload 79000 pages pdf.

@ftaffelt
Copy link
Contributor

see my comment here #1133 (comment)
i think you also have the same (but wrong) expectation about the "show-page" option. It does not render all 79000 pages at once, never. What it does: it activates an PDFJS viewer which is able to load and render multiple pages from a pdf document when you scroll/navigate in the viewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants