Print Page | Close Window

Problem with rendering

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=3910
Printed Date: 02 May 24 at 4:08AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Problem with rendering
Posted By: sperepel
Subject: Problem with rendering
Date Posted: 23 Apr 21 at 2:18PM
I loaded from a file and tried to render the page using RenderPageToDC and I get unexpected results, see the attachments.

This one is messed up:
https://drive.google.com/file/d/1PP2MAjPFKRS1RbE10dS3c790vWsiJdZM/view?usp=sharing" rel="nofollow - https://drive.google.com/file/d/1PP2MAjPFKRS1RbE10dS3c790vWsiJdZM/view?usp=sharing
This is how it suppose to look:
https://drive.google.com/file/d/1idrdQu2zRfoa9z5JX3rAIBduYIrzBcxm/view?usp=sharing" rel="nofollow - https://drive.google.com/file/d/1idrdQu2zRfoa9z5JX3rAIBduYIrzBcxm/view?usp=sharing

It seems to me that it doesn't render the gradients correctly. I also get the same result when rendering to a file, I tried multiple different formats.

Library version: 18.11
Embarcadero® Delphi 10.4 Version 27.0.38860.1461

Thank you for the help in advance.



Replies:
Posted By: Ingo
Date Posted: 23 Apr 21 at 8:57PM
Hi Serge,

how the original pdf was made?
What type of images are embedded?
It would be good to have the original pdf...

Cheers and welcome here,
Ingo


-------------
Cheers,
Ingo



Posted By: sperepel
Date Posted: 23 Apr 21 at 9:33PM
The second link has the pdf file. PDF was made by org.apache.pdfbox.

https://pdfbox.apache.org/" rel="nofollow - https://pdfbox.apache.org/

Also used ChartDirector for graphs
https://www.advsofteng.com/" rel="nofollow - https://www.advsofteng.com/


Posted By: tfrost
Date Posted: 23 Apr 21 at 10:04PM
I see the same issues with your PDF.  Try selecting the PDFIUM renderer, which seems to do a better job.



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