Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

PDF File Size Limitation

More
11 years 6 months ago #8659 by keithlorenzo
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!
More
11 years 6 months ago #8669 by support
Replied by support on topic PDF File Size Limitation
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.
More
11 years 6 months ago - 11 years 6 months ago #8712 by nermeen
Replied by nermeen on topic PDF File Size Limitation
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.
Last edit: 11 years 6 months ago by support.
More
11 years 6 months ago - 11 years 6 months ago #8717 by keithlorenzo
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.
Last edit: 11 years 6 months ago by keithlorenzo.
More
11 years 6 months ago - 11 years 6 months ago #8718 by support
Replied by support on topic PDF File Size Limitation
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.)
Last edit: 11 years 6 months ago by support.
More
11 years 6 months ago #8719 by keithlorenzo
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! :)
Time to create page: 0.466 seconds
Powered by Kunena Forum