The pdf structure requires random access to the file, something that a
stream can't provide.
> -----Original Message-----
> From: "s�bastien laforet" [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 9:36
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] pdfreader and byte[]
>
>
> hello.
>
> i need to concat some pfd files, and these files are stored as blobs in
> an oracle database.
>
> to use pdfreader, you must initialize it with a filename or a byte[].
> with my first attempts, i used a byte[], but it seems i can have to
> merge very large size pdfs ( more bytes that can fit on an "int".) so
> i can't use anymore the constructor with a byte[].
>
iText doesn't work with pdf sizes larger that 2G (2147483647) bytes.
> but i don't want either to read entirely my blob, write it on hard
> disk, use pdfreader with the file, then destroy the temporary file. is
> it possible to use pdf reader with a stream that could be read at will,
> so the use of the JVM memory would not be too bad ?
>
The pdf structure requires random access to the file, something that
a stream can't provide.
Best Regards,
Paulo Soares
> if i got a 30Mo pdf, i surely don't want to write it down, then read
> it, if the pdfreader could read by 24ko blocks, asking oracle for more
> when at the end of the current block.
>
> i prefer not to try and patch i-text, as i don't really have the time
> and will to figure how it really works.
>
>
> --
> S�bastien LAFORET - Sully Group
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: Thawte.com
> Understand how to protect your customers personal information by
> implementing
> SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
> Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions