The fix is in the SVN. See http://itext.svn.sourceforge.net/viewvc/itext/trunk/src/com/lowagie/text/pdf/codec/TIFFDirectory.java?view=log.
Paulo ----- Original Message ----- From: "Gianfranco" <[EMAIL PROTECTED]> To: "Post all your questions about iText here" <[email protected]> Sent: Wednesday, June 06, 2007 7:51 PM Subject: Re: [iText-questions] Possible bug? > Yes, I'm sure! I'm usign iText 2.0.4 and this > http://itext.ugent.be/library/com/lowagie/examples/objects/images/tiff/Tiff2Pdf.java > is the program that I'm usign to convert my tiff to pdf. > Maybe I've found the problem... > The method > comps = TiffImage.getNumberOfPages(ra) ; > still return me 0 when I try to convert a 1-page tiff (return 7 with > 8-pages tiff) so I've the same error. > Today I've solved in this way: > comps = TiffImage.getNumberOfPages(ra) + 1; > Now the program works fine when I try to convert tiffs! > Thanks! > > > Bruno Lowagie ha scritto: >> Gianfranco wrote: >>> Today I've downloaded iText 2.0.4 but running the example Tiff2Pdf on my >>> tiff image, I still get the same error! Why?! >> >> Tiff2Pdf is no longer present in iText 2.0.4. >> Hence Paulo's question: are you sure you are using iText 2.0.4? >> What does it say when you ask Adobe Reader for Document properties? >> br, >> Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
