t works for now. :)
Thanks again.
Ted
- Original Message
From: Ted Chen <[EMAIL PROTECTED]>
To: Post all your questions about iText here [EMAIL PROTECTED]>
Sent: Thursday, October 4, 2007 3:51:31 PM
Subject: Re: [iText-questions] remove content from a page
Thanks a bunch, Mark, for the
n't like my current solution of cropping
out the invisibles.
I appreciate your help.
Ted
- Original Message
From: Mark Storer <[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Thursday, October 4, 2007 2:15:21 PM
Subject: Re: [iText-questions] remo
of cropping
out the invisibles.
I appreciate your help.
Ted
- Original Message
From: Mark Storer <[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Thursday, October 4, 2007 2:15:21 PM
Subject: Re: [iText-questions] remove content from a page
No bueno.
Each of
No bueno.
Each of those slides is made up of a collection of resources & drawing
commands. To determine where one ends and the other starts (and which one
is which), you'd need to parse the page's content stream.
!trivial.
iText includes a basic content tokenizer, but beyond that you're in for
ay, October 4, 2007 11:06:30 AM
Subject: Re: [iText-questions] remove content from a page
Post a link to the PDF. Removing content can range from easy to impossible.
Paulo
- Original Message -
From: "Ted Chen" <[EMAIL PROTECTED]>
To: "Post all your questions ab
The general solution is Hard. You have to determine which resources
(XObjects, fonts, and so forth) no longer falls within the page bounds by
parsing the page's content stream and calculating the bounding box of each
use of each resource.
Your specific case may be Very Easy, but it's difficult to
Post a link to the PDF. Removing content can range from easy to impossible.
Paulo
- Original Message -
From: "Ted Chen" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Thursday, October 04, 2007 7:03 PM
Subject: Re: [iText-questions]
Any suggestions? Thanks!
- Original Message
From: Ted Chen <[EMAIL PROTECTED]>
To: itext-questions@lists.sourceforge.net
Sent: Monday, October 1, 2007 12:08:30 PM
Subject: [iText-questions] remove content from a page
This might be a pdf newbie's question.
The pdf
This might be a pdf newbie's question.
The pdf file I have contains 2 slides printed on each page. I only want to
keep 1 slide on it. To remove 1 slide from a page, I currently gets a handle
on the page then sets its cropbox. It works fine, at least visually. However,
the file size still re