Yup - check with the folks at PDFTron, they are good folks!  (and say "Hi" to 
them from me)

Leonard


On 7/2/09 7:09 AM, "Ian Rashkin" <[email protected]> wrote:

Thanks - that's intuitively clear to me and judging by your email address I'm 
guessing you know of what you speak. So probably I am asking the wrong question.
Basically, I am using PDFTron's PDF2Image to "convert" the pdf doc to an image 
(my app needs the pdf for the print-ready, final document, but I need a jpg for 
a quick web/email preview). Now, I've got a need to convert not to a jpg but to 
a png - Pdf2Image will do that, and according to PDFTron's documentation it is 
possible to preserve the transparency. They explain what to do if you are using 
their pdf library, but I'm not, I'm already vested in using iText.  So, 
something they are doing in their library makes the pdf carry some information 
that will then tell the image converter to maintain transparency, but I don't 
know what that is, was hoping that was something basic to pdf. I will contact 
them (PDFTron) as well, and see if they can help.

Thanks again,
Ian


________________________________

From: Leonard Rosenthol [mailto:[email protected]]
Sent: July 01, 2009 3:43 PM
To: Ian Rashkin; Post all your questions about iText here
Subject: Re: [iText-questions] Transparent background for whole pdf

Any area of a PDF that does not have content on it is "transparent" - there is 
no "background color".

And since iText doesn't actually render anything, I am not sure where the issue 
is.

Leonard


On 7/1/09 1:41 PM, "Ian Rashkin" <[email protected]> wrote:
Maybe this is something obvious that I am overlooking, or maybe not possible - 
is there a way to set the pdf file's background to be transparent? IT is white 
be default, as far as I can tell. I use a component by PDFTron to render the 
pdf out to an image, and I want to be able to render to a PNG with transparency.
Apparently their PDFNet SDK has such an option, which makes me think it must be 
possible, but I am using iText (well, iTextSharp) and not sure how to do this. 
Any advice?

Thanks,
Ian



--
Leonard Rosenthol
PDF Standards Architect
Adobe Systems Incorporated
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to