-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
taking more than 2minutes to load file of size 9mb, how can i handle this? #7790
Comments
Closing as incomplete, since there's no actionable information provided here. |
@Snuffleupagus |
Please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md to re-open the issue (don't forget a link to a working example, since just code snippets are not helpful). |
Configuration:
expected behaviour: |
Here is my code
var data = base64ToUint8Array(base64String);
function base64ToUint8Array(base64) {
var raw = atob(base64);
var uint8Array = new Uint8Array(raw.length);
for (var i = 0; i < raw.length; i++) {
uint8Array[i] = raw.charCodeAt(i);
}
return uint8Array;
}
PDFJS.getDocument(data)
.then(function(pdf) {
});
The text was updated successfully, but these errors were encountered: