Print Page | Close Window

DPLRenderPageToFile misses some gfx

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=3680
Printed Date: 29 Mar 24 at 12:06PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: DPLRenderPageToFile misses some gfx
Posted By: prenz
Subject: DPLRenderPageToFile misses some gfx
Date Posted: 28 Feb 19 at 11:31AM
I have trouble rendering a PDF with QuickPDF Library. My PDF contains some sort of "watermark", which is displayed ok with Adobe or Foxit Reader, but when rendered with Quick PDF, only currupted parts of this watermark are visible in the output.

Original PDF: https://od.lk/f/ODJfMzQ1ODQ2ODlf

This is how it should look like:


And this is how Quick PDF Library (v16.12) renders this PDF:



The watermark in the page's center is almost invisible. What can I do to get Quick PDF render this file correctly?



Replies:
Posted By: Ingo
Date Posted: 28 Feb 19 at 11:46AM
Hi Jan,

first you should try to use...
CombineContentStreams and
NormalizePage
...after the load and before rendering this could be an effect already.

Cheers and welcome here,
Ingo



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



Posted By: prenz
Date Posted: 28 Feb 19 at 12:07PM
Hi Ingo,

thanks for the welcome, and of course, for the tips.

I just tried CombineContentStream and NormalizePage, but unfortunately no change to the output...


Posted By: Ingo
Date Posted: 28 Feb 19 at 1:31PM
In my apps it looks similar to your sample here.
I think the problem is more how this watermark is made.
This here is a user-user-forum - so further help you should get on the official support page of Debenu/Foxit.
Please add a sample and complete description of your issue (try "report a bug" or "technical question"):
https://www.debenu.com/support/contact/





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



Posted By: Coogara
Date Posted: 05 Aug 19 at 11:46PM
Did you find a solution for this? I'm having the same issue. I have a process running on Linux. It renders page text just fine, but none of the graphical content renders. Mine aren't even watermarks.

I can't be certain, but I suspect the issue concerns the PDF layers. When I ran the PDF through a compressor, the individual pages could then be extracted intact, with graphics.

UPDATE: I've given up on this under Linux and instead am calling ghostscript to extract PNG pages from the PDF. This is faster than my previous efforts using QuickPDF.

Graeme



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