Jamal Mohideen
Sat, 17 May 2008 09:11:35 -0700
Dear All, The problem is not appearing in Unix machine "HP-UX " and java "/opt/java1.4/jre/bin" and there is no change in my program used for testing. Same program working in Windows and Unix, but fails in Linux. Thanks for everyone effort and time in this regard. Thanks and Regards, Jamal Mohideen ----- Original Message ----- From: "Jamal Mohideen" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <itext-questions@lists.sourceforge.net> Sent: Saturday, May 17, 2008 3:50 PM Subject: Re: [iText-questions] Tiff to pdf conversion -CCITTFaxGroup4compression > Dear Bill, > > In the Linux machine, I have execute the command "uname -a" and below is > the > result > Linux svlipc33 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:58:20 EDT 2007 > x86_64 > x86_64 x86_64 GNU/Linux > > Do you need any more information? This machine is 4 CPU server machine. > > Regarding the program, Please find attached "PhotoAlbum.java". In this > class, the method execute is a similar copy from PhotoAlbum Toolbox and I > have added a new method to create the test tiff input files. This new > method > will simply take one tiff and create 100 tiff copy in a folder. Resultant > output folder is passed as input to execute method to create the PDF. > > Result of executing the main method is output pdf with 37 tiff converted, > remaining 63 are failed in conversion. This is what very strange, same > input > file is failing. > I am executing the programs using telnet session, so I am unable to use > the > Original PhotoAlbum from toolbox and I dont have (don't know) any > provision > here to test the PhotoAlbum from toolbox in telnet. > Could you please execute the attached program in your Linux machine and > let > me know the result. > > Thanks a lot for your time and effort. I have also attached the input (1) > tiff file again. > > Thanks and Regards, > Jamal Mohideen > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Post all your questions about iText here" > <itext-questions@lists.sourceforge.net> > Sent: Friday, May 16, 2008 6:04 PM > Subject: Re: [iText-questions] Tiff to pdf conversion - > CCITTFaxGroup4compression > > >> -------------- Original message ---------------------- >> From: "Jamal Mohideen" <[EMAIL PROTECTED]> >>> >>> 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 >>> >> >> I'm curious as to why you would decompile the PhotoAlbum class, >> obfuscating the code, rather than using the original source code. It's >> also apparent you failed to copy the required license into your version. >> >> Please work from the original source code, so those familiar with the >> internals of iText can help you. >> >>> 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. >>> >> >> What line of the original source code is giving you your problem? >> >>> 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. >> >> If you had looked at the original source code, it would have n]been >> evident to you that PhotoAlbum is derived from Tiff2Pdf, i.e., there are >> artifacts of Tiff2Pdf comments in the original PhotoAlbum source code. >> >> Please provide a small stand-alone example, together with the input data >> you used, that exhibits the behavior you think your Linux environment is >> showing you. You will help yourself by also giving the flavor and version >> of Linux on which you are having the problem. >> >> Cheers, >> 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 > -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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