RadaeePDF.com :: Topic: Load single page from large PDF (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Load single page from large PDF

Load single page from large PDF 3 years 1 month ago #6427

I'm currently working with the Android SDK ver 2.9.9. I have a 100+ page PDF in my app as a reference guide for the user. I want to be able to display ONE specific page in the pdf without rendering all 100 pages. It takes 90 seconds to load and display the entire pdf, so I need a way to only send the page I want to the PDFview for displaying. I'm currently using the PDFReader from the preview SDK to display my content. Any help is appreciated.
The administrator has disabled public write access.

Load single page from large PDF 3 years 1 month ago #6430

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
are demo project open this PDF file need 90 seconds?
or do you rendered all pages in manual way?
Last Edit: 3 years 1 month ago by .
The administrator has disabled public write access.

Load single page from large PDF 3 years 1 month ago #6439

I'm using the PDFReader class from the demo project. Again, I need to be able to open and display a single page at a time from a 100+ page pdf. Is there any way to prevent the class from rendering the other 99 pages that aren't currently on the screen?

For reference, I've already set the global.render_mode to draft and I'm still getting abysmal load times.
Last Edit: 3 years 1 month ago by Vinoth.
The administrator has disabled public write access.

Load single page from large PDF 3 years 1 month ago #6441

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
PDFReader only render the pages on screen.
The administrator has disabled public write access.

Load single page from large PDF 3 years 1 month ago #6444

Well, then what can I do to improve performance? 90 seconds is far too long to load a pdf.
The administrator has disabled public write access.
Powered by Kunena Forum