Comments (3)
Hi,
not sure why it would crash. I followed the examples and advice from pdfjs official docs [1], but I'll take a look at it.
from pdfjs-viewer.
Well, since I set pixel_ratio = 1; in the renderpage function and use renderingScale: 1.25 as the default scale option, it works perfectly and the crashing is gone on iOS devices like my iPad. Can't remember if I tried it with a higher rendering scale, but the quality is fine at 1.25, for my purposes anyhow.
Note that the documents I display are around 100 pages long but they almost all text-based, no graphics of any sort or even embedded images. I also set extraPagesToLoad to 2 to try to preload fewer pages.
from pdfjs-viewer.
Not sure if you propose if I should debug anything... if you think so, please re-open the issue.
Thank you.
from pdfjs-viewer.
Related Issues (13)
- Delete pages and set footers to thumbnails HOT 5
- The viewfinder image is distorted. HOT 3
- Loading PDF as URL HOT 2
- Get annotations in div without PostMessage HOT 1
- How use pinch to zoom in/out pdf doc HOT 1
- Adding Find to the viewer HOT 3
- Print feature HOT 3
- pdf.js version update HOT 1
- onActivePageChanged and getActivePage() not working ? HOT 1
- Pdf files are not shown in Firefox HOT 2
- Is it possible to have clickable links? HOT 1
- Rendering problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfjs-viewer.