Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
page rendering is quite slow. |
Post Reply ![]() |
Author | |
giantjupiter ![]() Beginner ![]() Joined: 13 Sep 10 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 13 Sep 10 at 4:47PM |
Hi,
I am trying version 7.21, and I noticed that DARenderPageToDC(...) is quite slow. I call DARenderPageToDC(...) in OnDraw event, so that repainting has a delay, which is quite annoying.
I called these functions:
DAOpenFile(...),
DAFindPage(...)
DARenderPageToDC(...)
and no other function is called. The Quick Pdf Library Demo seems to be fast.
So I'd like to ask what is the best way to render a page?
Thx
michael
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Michael!
Is it slow with all pdf-documents or only few (very special)? What about ... LoadFromFile... SelectPage... RenderPageToDC... Is it faster? Cheers and welcome here, Ingo Edited by Ingo - 13 Sep 10 at 7:37PM |
|
![]() |
|
giantjupiter ![]() Beginner ![]() Joined: 13 Sep 10 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Hi, Ingo,
It is much obvious when there is an large image in the page, and it seems only RenderPageToDC() is slow and other functions are ok. The pause of rendering text is short but still noticable.
Should I render it to a bitmap first, then every time repaint the bitmap. I am also trying mupdf, but it don't have this problem.
Thx,
Michael
Edited by giantjupiter - 13 Sep 10 at 11:52PM |
|
![]() |
|
pavsej ![]() Beginner ![]() Joined: 22 Sep 10 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
I have the same Problem with one large image on a PDF page. I kind of solved it by changing PrinterResolution. For preveiw I use lower Resolution, for real printing job I use higher Resolution.
In my case rendering of one PDF page with one image takes (RenderPageToDC):
2.3 sec - 300 DPI
6.5 sec - 600 DPI
Anyway, any performace improvement would be welcome.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
And 900 dpi perhaps 15 sec... But 72 dpi (the standard) immediately. It depends on what you wanna do ... like always ;-) The dev-team has already done a lot in case of speed but if you want a lot then ... ;-) Cheers, Ingo |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store