Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread 1T3XT BVBA
On 31/10/2012 13:28, Leonard Rosenthol wrote: > Actually, more like the pressure of finishing the book My question was actually meant as an opportunity for you to post some links to the book ;-) Let me do that for you: http://www.amazon.com/Developing-PDF-Leonard-Rosenthol/dp/1449327915 http://sh

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread Leonard Rosenthol
Actually, more like the pressure of finishing the book :). On 10/31/12 8:19 AM, "iText Info" wrote: >Op 31/10/2012 13:15, Leonard Rosenthol schreef: >> the physical book won't be ready till December... >Ah, the excitement waiting for the first box of printed books to arrive >;-) > >-

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread iText Info
Op 31/10/2012 13:15, Leonard Rosenthol schreef: > the physical book won't be ready till December... Ah, the excitement waiting for the first box of printed books to arrive ;-) -- Everyone hates slow websites. So do we. Mak

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread Leonard Rosenthol
e.net Subject: Re: [iText-questions] parse a PDF in odred to avoid memory consumption Op 31/10/2012 12:55, Leonard Rosenthol schreef: > or one of the books mentioned Amazon tells me we have to wait until December 22 before we can read your book. Is it already available in an Early Access program s

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread iText Info
Op 31/10/2012 12:55, Leonard Rosenthol schreef: > or one of the books mentioned Amazon tells me we have to wait until December 22 before we can read your book. Is it already available in an Early Access program somewhere? ---

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread Leonard Rosenthol
esday, October 31, 2012 6:27 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] parse a PDF in odred to avoid memory consumption Thanks Leonardo. I'll surely take your advice, but pardon me, I'm trying to be more focused on PADES structure than PDF standard

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-31 Thread AndreaC.
Thanks Leonardo. I'll surely take your advice, but pardon me, I'm trying to be more focused on PADES structure than PDF standard. My reference documentation is 'ETSI TS 102 778-1 V1.1.1' and my goal is to strip all digital signature from a PDF document bypassing overheads. Is this an a coarse appr

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-30 Thread Leonard Rosenthol
How are you going to FIND the valid ones? Especially if/when they are compressed? I think you need to give ISO 32000-1:2008 (the PDF standard) or either my or Bruno's books a read about why PDF doesn't work the way you think it does. Leonard On 10/30/12 5:14 AM, "AndreaC." wrote: >Thanks again

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-30 Thread AndreaC.
Thanks again Michael. I'm agree with you about parsing PDF, but in your opinion what kind of trouble can I get if I extrapolate the digital signatures portions reading the PDF in a stream-like manner? In this way, looping through all PdfName.BYTERANGE and PdfName.SUBFILTER tags, is it possible to

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-29 Thread Kevin Day
Andrea- PDF cannot be parsed in a stream-like manner - it is inherently random access. Most likely, you will need to send the stream to storage and parse it that way... -- View this message in context: http://itext-general.2136553.n4.nabble.com/parse-a-PDF-in-odred-to-avoid-memory-consumption

Re: [iText-questions] parse a PDF in odred to avoid memory consumption

2012-10-29 Thread AndreaC.
Thanks Michael . My PDF came from a DB CLOB as an InputStream so I suppose that I can't load it like an a RandomAccessFile. In this scenarios seams that is not possible for iText to avoid to load entire PDF into memory, is it correct? Regards, Andrea. -- View this message in context: http