Thanks for the thought, however I am not using the JAI class. What I am
doing is more like:
FileOutputStream fout = new FileOutputStream(file);
TIFFEncodeParam param = new TIFFEncodeParam();
TIFFImageEncoder enc = new TIFFImageEncoder(fout, param);
enc.encode(bufferedImage);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Pruitt wrote:
> Actually, I am converting pdfs to tiff. We have a special case where our
> pdfs all consist of full-page images. I use iText to get to the image
> streams in the pdf, and use JAI to encode the images to tiff.
The problem may not b
> -Original Message-
> From: John Pruitt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 20, 2005 5:19 PM
> To: Paulo Soares
> Cc: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Possible File Resource Leak
>
> To create t
mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 20, 2005 4:38 PM
To: Paulo Soares
Cc: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Possible File Resource Leak
Actually, I am converting pdfs to tiff. We have a special
case where our
pdfs all consist of full-page images. I
ally {
> >if (ra != null)
> >ra.close();
> >}
> >
> >It will make sure that the file is closed if some exception
> is throwned.
> >
> >
> >
> >
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> &
ts.sourceforge.net
> Subject: [iText-questions] Possible File Resource Leak
>
> I have a program that basically batch converts pdfs to
> multi-page tiffs
> using iText. I am running into a problem. In my testing, I had the
> program batch convert 12,000 pdf files to multi-page t
PROTECTED] On
Behalf Of John Pruitt
Sent: Tuesday, December 20, 2005 3:15 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Possible File Resource Leak
I have a program that basically batch converts pdfs to
multi-page tiffs
using iText. I am running into a problem. In my
I have a program that basically batch converts pdfs to multi-page tiffs
using iText. I am running into a problem. In my testing, I had the
program batch convert 12,000 pdf files to multi-page tiff. The program
worked like a charm for 8 hours, then it hit an exception: "To many open
files." The