Print Page | Close Window

create transparent pdf document

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=2510
Printed Date: 22 Jul 25 at 2:35PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: create transparent pdf document
Posted By: MartinCS
Subject: create transparent pdf document
Date Posted: 23 Jan 13 at 1:14PM
Hi all,

is it possible to make pdf document transparent in order to import/overlay it to another pdf document using QuickPdf?

I'm trying to print the pdf document using the 'PrintDocument' method. But I can't find an option to switch the document to transparent. I would like to have the white space transparent.

The problem I'm having is that the printed document covers the other pdf documents content when I use the 'MergeDocument' and 'DrawCapturedPage'.

Hope you guys have some advice!


Thanks,
Martin



Replies:
Posted By: edvoigt
Date Posted: 07 Feb 13 at 6:13PM
Hi Martin,

you cannot change the colors in an existing PDF. Sometimes a white area is used to make underlying parts invisible. It would not work, if anybody could change this white color anyway to nocolor.

But it would be a work deep inside then PDF-structure to realize a such behavior. You have to find the "white objects" and give them a new life with no content. Nothing for a short time...

If you are the producer of this PDF, thats another play.

Cheers,
Werner


Posted By: alinux08
Date Posted: 08 Feb 13 at 1:02AM
It all depends on what kind of pdf you have.

If it is a simple pdf file with text, you can extract all the text with locations, then recreate in your
program with a transparent background. If it has images, other objects, then you have more work to do by extract them, recreate them like the text. Or you can work on rendered document's pixels, change them one by one. None of the above is a easy job to do.



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