logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Inco  
#1 Posted : Saturday, June 9, 2018 2:38:31 AM(UTC)
Quote
Inco

Rank: Newbie

Groups: Registered
Joined: 6/9/2018(UTC)
Posts: 8

Hi,

What would be the optimal way, performance-wise, to work with Subset of pages as far PdfViewer is concerned ?

The subset would always be contiguous, e.g. Page 32-128. From the user perspective, only that Subset exists.
Some PDFs might be in the few 100s of MB, so extracting spans of pages to file is out of the question, it should be in-memory.

Bearing in mind I am just getting acquainted with Pdfium, so far I have considered the following strategies:
  • Inherit _startPage and _endPage
  • ImportPages in a new virtual Document (seems performance-unfriendly)


Alex
Paul Rayman  
#2 Posted : Sunday, June 10, 2018 4:58:59 AM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,138

Thanks: 10 times
Was thanked: 133 time(s) in 130 post(s)
What view mode should support this behavior?
Should it be SinglePageView, VerticalView, HorizontalView or each of them?

Edited by user Sunday, June 10, 2018 5:01:48 AM(UTC)  | Reason: Not specified

Inco  
#3 Posted : Sunday, June 10, 2018 6:06:45 AM(UTC)
Quote
Inco

Rank: Newbie

Groups: Registered
Joined: 6/9/2018(UTC)
Posts: 8

Originally Posted by: Paul Rayman Go to Quoted Post
What view mode should support this behavior?
Should it be SinglePageView, VerticalView, HorizontalView or each of them?


SinglePageView and VerticalView minimum.
HorizontalView is a plus.
Inco  
#4 Posted : Thursday, June 21, 2018 4:53:19 AM(UTC)
Quote
Inco

Rank: Newbie

Groups: Registered
Joined: 6/9/2018(UTC)
Posts: 8

Thank you for your work on the rendering issue Paul and the team.

Any update on this question ?
I'm just looking for confirmation or pointers. Is inheriting _startPage and _endPage the way to go ?
Quick Reply Show Quick Reply
Users browsing this topic
Guest (2)
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.