Certainly, PDF is structured, and I admit that modifying it as if it is text is dangerous and kludgy, but my simple search-and-replace IS working, and is super fast.

The main danger, from what I've seen, is when I replace existing text with *less* text. At a certain point, it corrupts the document - apparently there are checksums embedded in PDFs. Oddly, when I add more characters, I don't seem to reach any threshhold.

Anyway, I'm running on Solaris 8.5. It's not critical that I reduce the footprints on these PDFs, but it would be nice...


From: Leonard Rosenthol <[EMAIL PROTECTED]>
To: "Steven McNeel" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: [iText-questions] Re: Can I apply ASCII-85 and Flate filters to an existing PDF?
Date: Fri, 30 Apr 2004 09:32:51 -0400


At 09:18 AM 4/30/2004, Steven McNeel wrote:
Thanks. No, I am not using iText to create my PDF. I'm using FOP, and I'm intentionally creating it without filters so I can later parse it.

What kind of parsing? You aren't trying to modify the file as if it were text, are you? Because even though it may look like it - it is NOT!


PDF is a structured binary file format.


But after parsing, I'd like to apply a Flate filter, and I need to do this on UNIX.

What flavor of Unix? Solaris? Linux? AIX? Other? What processor?



Leonard


---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                             215-938-0880 (fax)


_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page � FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to