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[].

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 ?

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

Reply via email to