PDF File Size Limitation - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: PDF File Size Limitation

PDF File Size Limitation 3 years 8 months ago #8659

  • keithlorenzo
  • keithlorenzo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Good day!

We're trying to load a very large PDF for stress testing (1.85GB / 200 pages, lots of images) but Document.open() always returns -3 (damaged or invalid format)
PDF file can be opened with no problems in other PDF apps such as Adobe Reader.
What are the possible reasons that Document.open() will return -3 ? Is it possible for us to verify the problem?

Thank you very much!

Please Log in or Create an account to join the conversation.

PDF File Size Limitation 3 years 8 months ago #8669

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
It's really a large document.
-3 error code means something gone wrong during early decoding of the PDF file during the opening process.
It shouldn't be tight to the file size itself.

May you provide your huge file in some way?
Maybe with wetransfer?
If you need it we should share a NDA about that.

Please, provide us also the configuration you're testing the file: device, OS version.

Please Log in or Create an account to join the conversation.

PDF File Size Limitation 3 years 7 months ago #8712

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
With the latest version 3.4 RC1 , the pdf can be opened correctly.

Note that:
The pdf is very heavy, so it takes time to be rendered, but it is still being rendered faster than Adobe.
That for our actual pdf decoding handler the limit is of 2GB.
The following user(s) said Thank You: keithlorenzo

Please Log in or Create an account to join the conversation.

Last edit: by support.

PDF File Size Limitation 3 years 7 months ago #8717

  • keithlorenzo
  • keithlorenzo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi! Thank you very much for the update. I tried the latest version 3.4RC1 (eclipse version) but unfortunately I'm still getting a -3 error when opening the same 1.85gb PDF file.

Please Log in or Create an account to join the conversation.

Last edit: by keithlorenzo.

PDF File Size Limitation 3 years 7 months ago #8718

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
Are you testing the same file you provide us?
Are you opening a different file? It seems it could be a different issue.

We checked it on both simulator and real devices (LG, Samsung, Archos, Asus, etc.)
The following user(s) said Thank You: keithlorenzo

Please Log in or Create an account to join the conversation.

Last edit: by support.

PDF File Size Limitation 3 years 7 months ago #8719

  • keithlorenzo
  • keithlorenzo's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
hello! sorry, i was using the wrong binaries libs for my application.
i was able to verify that our test file can now be properly loaded.

thank you very much for your help! :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum