> My god, you speak PDF! Think I'm going to have to learn to do
> likewise.

Correct on both counts:  
http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf

Enjoy.

> Did you use a tool to 'look into' the PDF to help you diagnose
> this? When I look at the PDF in a text editor, everything is
> compressed, so I can't see the underlying operators.

I did indeed.  There are several similar tools available:
1) Acrobat can save a PDF with no compression.  Heck, you could write an iText 
app to do that.
2) RUPS is an iText-based PDF object browser.
3) PDF Can Opener is an Acrobat plugin that is RUPS-like with a bajillion 
spiffy features.  Free 10-day trial, $195.  I am in no way affiliated with 
them, I just happen to know that a tool like that is invaluable.

http://www.windjack.com/products/pdfcanopener.html 

> Feels like I need to poke around in the PDF streams and remove any
> rectangles that look like they cover the whole background.

Pretty much, yeah.  You'll want to check out the org.itextpdf.text.pdf.parser 
package.  I don't know that there are any examples that use it yet.  Bruno?

--Mark Storer
  Senior Software Engineer
  Cardiff.com
 
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
 

> -----Original Message-----
> From: Paul Russell [mailto:[email protected]]
> Sent: Monday, July 19, 2010 11:07 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problems with super-imposing one
> PDFonanother: White background?
> 
> On Tue, Jul 20, 2010 at 12:34 AM, Mark Storer <[email protected]>
> wrote:
> > Bad news.  They are indeed drawing a white box (among other things...
> > yuck) on their background.
> 
> 
> Yuck. Had a horrible feeling this was a white background issue :(
> 
> Can you share any pointers as to how best to tackle this?
> 
> Feels like I need to poke around in the PDF streams and remove any
> rectangles that look like they cover the whole background? Given my
> current level of skill with PDF etc, that's a heck of a challenge for
> me at the moment - can you give me any pointers as to where to start?
> In particular, it'd be good to understand which APIs to use to 'crack
> open' the relevant content stream in the PDF? I can see that I'd
> probably need to get hold of - and then filter - an instance of
> PDFStream, but it's not totally clear to me how to find the right
> stream in the first place.
> 
> Thanks very much for your help with this...
> 
> 
> Paul
> 
> --------------------------------------------------------------------------
> ----
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.itextpdf.com/book/
> 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/
> 
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.839 / Virus Database: 271.1.1/3009 - Release Date: 07/18/10
> 23:36:00

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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