-----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 be with iText but with JAI.

I had a similar problem in the past using JAI.create with the
"filestore" argument: the file was not closed by JAI once the image was
saved. When I replaced "filestore" with "encode" after creating the file
explicitly, the problem disappeared.

You may have the same problem if you're passing a file name instead of a
file stream to JAI.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
<[EMAIL PROTECTED]>

PGP Key: http://brittanysoftware.com/gpg_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDqEwJA3JYBYlsWUcRAmOeAKCl8y/80t87PrTlFIv5W60uOWSXMACginxB
G5Yuw9+80UTODzMPgIwEjcQ=
=X40d
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to