Print Page | Close Window

renderpageto errors

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2691
Printed Date: 25 Nov 24 at 7:58PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: renderpageto errors
Posted By: jmontoya
Subject: renderpageto errors
Date Posted: 23 Jul 13 at 9:44AM
Hello, I've a pdf with dozens of images in each page. When I call renderpagetostream to generate a jpg of the pages, sometimes one of the images is not rendered (is rendered as white). It's not allways the same image and not the same page. It seems that sometimes a GDI call fails. Is "renderpagetostream" checking every GDI function is calling? I'm using this functions in threads, in parallel rendering, so a lot of memory is used, but I'm compiling to x64.
I've tried to use Cairo, but application crashes at first render.

Pdf with images:

http://91.121.176.59/book/objects_pdf.jpg" rel="nofollow - http://91.121.176.59/book/objects_pdf.jpg

Rendered page:

http://91.121.176.59/book/flat_pdf.jpg" rel="nofollow - http://91.121.176.59/book/flat_pdf.jpg

Thank you.




Replies:
Posted By: AndrewC
Date Posted: 30 Jul 13 at 11:59AM
jmontoya,

Which version of QPL are you using ? DLL Active X ? 8.16 or 9.xx ? C# or C ?

Are you using a separate QPL instance for each thread ? 

Andrew.


Posted By: jmontoya
Date Posted: 30 Jul 13 at 12:13PM
Hello,
I'm using 9.15 with Delphi xe4 x64.
And yes, I'm using a separate instance in each thread.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk