Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me

TOPIC:

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15183

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Luca,
We're testing the opening method's optimized version for linearized PDFs.
The new method will handle PDF files with pages of the same size (no mixed size in between).
We should release the new betas at the beginning of the new coming week.

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

Last edit: by support.

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15186

  • lucsev
  • lucsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi Federico,

Good!
Here is the dropbox link to a PDF file of a magazine issue generated by our backend.
www.dropbox.com/s/5fv81vsffnay4qk/PDF_files.zip?dl=0

In the archive there is an unlinearized version and three linearized versions of the same PDF using Adobe Acrobat and an open-source tool, Qpdf.

The page size should be always the same for the same document (but different documents may have different page size of course) so it should work in ours and normal situations. Of course if the PDF cant be opened in the linearized way for any reason your library must fall back to open it the standard way...

Let me know if you need more PDF files to test. I have tons of them...

Thank you!

Luca Severini

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15195

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Luca,
Thanks for sharing us your pdfs for testing.
We've just uploaded a new RadaeePDF's SDK that include the new pdf linearization options' feature here .
You could also find the knowledge about that feature here

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15196

  • lucsev
  • lucsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi Federico,

Great!
I will test it asap and let you know of any problem I may find.
Thank you!

Luca Severini

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15197

  • lucsev
  • lucsev's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi Federico,

I've done some tests using the same PDF I sent you from a local HTTP server and simulating a slower network speed so that the linearization is more evident when is available and used correctly.
Perhaps I didn't understand how it works but regardless of the value I use in Document_setOpenFlag() the pdf is showed always after the same time (around 30 secs in my test case).
I can see there is a difference between setting the open flag to 0, 1 or 2, but before the first page of the PDF is showed it takes always the same time.
It seems that for some reason the first pages are not showed even if they have been already loaded and only when the operation is completed the pages are showed.
Indeed the older version of the library without that flag takes the same time before the PDF pages are shown.
See below the rows with ##### RDLoPDFViewController viewWillAppear... to see the time that takes to show the PDF.
A PDF library (PDFTron) that actually works correctly shows the first two pages in few seconds while it takes around the same time to load all of the pages.
If it's the case, you can contact me by email and we can arrange to talk so we can explain better.

Luca Severini


OLD VERSION without LINEARIZATION:

##### Opening PDF at http://192.168.1.50/gioia_2018_0041_OPT.pdf
##### PDFOpenStream open completed: 29820 msecs
##### RDLoPDFViewController viewWillAppear: 29843 msecs

NEW VERSION with LINEARIZATION:

##### Opening PDF at http://192.168.1.50/gioia_2018_0041_OPT.pdf with flag=0
##### PDFOpenStream open completed: 1684 msecs
##### RDLoPDFViewController viewWillAppear: 29919 msecs

##### Opening PDF at http://192.168.1.50/gioia_2018_0041_OPT.pdf with flag=1
##### PDFOpenStream open completed: 30965 msecs
##### RDLoPDFViewController viewWillAppear: 31046 msecs

##### Opening PDF at http://192.168.1.50/gioia_2018_0041_OPT.pdf with flag=3
##### PDFOpenStream open completed: 1256 msecs
##### RDLoPDFViewController viewWillAppear: 29320 msecs

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

Few questions to evaluate the RadaeePDF library 3 years 8 months ago #15200

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Dear Luca,
Thanks for your feedback.
I confirm this situation.
Our developers will take charge of that, we'll give you a response as soon as possible.

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

Last edit: by federico.
Powered by Kunena Forum