itext-questions  

Re: [iText-questions] Tiff to pdf conversion - CCITT FaxGroup4compression

Jamal Mohideen
Fri, 16 May 2008 02:53:16 -0700

Hello All,

Please find attached program to perform bulk tiff to PDF conversion.
This program is written with iText-2.1.0.jar and code sample taken from respective toollbox.jar

When reading the tiff, Iam getting exception at Line 77 and more over the exception is appearing randomly. Meaning, first run results in 45 exceptions, second results in 1700 and third in 1684 exceptions.

This problem in appearing in Linux. I have tried already with Tiff2Pdf sample, but that also results in the random results. Can anyone who knows the iText internal help me please.

Thanks and Regards,
Jamal Mohideen
----- Original Message ----- From: <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net>
Sent: Thursday, May 15, 2008 9:44 PM
Subject: Re: [iText-questions] Tiff to pdf conversion - CCITT FaxGroup4compression


-------------- Original message ----------------------
From: "Jamal Mohideen" <[EMAIL PROTECTED]>

<snip>
When you run this Tiff2Pdf tool for a single file it is working fine.
But the same is failing when I am converting 1000 tiff files into 1000 PDF
files. And also, the failure is random, in the first I got 60 tiffs
cancelled and second time it is 964 tiffs.


IIRC, Tiff2Pdf converts only one file at a time.

Try the PhotoAlbum tool. It should convert all of the images in a directory into a single PDF, one image per page.

How the random failure is happening? it is very strange. Does anyone have
any clue?

You're the only one holding the clues to why this is happening, as you haven't compartmented and described the problem in enough detail for anyone to be able to help you.

Personally, I don't think your problem is an iText problem. I'd suggest you write a small program that demonstrates the problem you're seeing. Then ask your question on a discussion group for which your problem would be on-topic.

Good luck and best regards,
Bill Segraves

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Attachment: PhotoAlbum.java
Description: java/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar