itext-questions  

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

Paulo Soares
Wed, 14 May 2008 09:56:21 -0700

If the tiff files are exactly the same I don't see any reason for this
to happen. Big and little endian don't matter here.

Paulo

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [EMAIL PROTECTED] On 
> Behalf Of Jamal Mohideen
> Sent: Wednesday, May 14, 2008 5:17 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Tiff to pdf conversion - CCITT 
> FaxGroup4compression
> 
> Thanks for your comments, is there are any possiblity to 
> resolve this issue?
> 
> Thanks and Regards,
> Jamal Mohideen
> ----- Original Message ----- 
> From: "Howard Shank" <[EMAIL PROTECTED]>
> To: "Post all your questions about iText here" 
> <itext-questions@lists.sourceforge.net>
> Sent: Wednesday, May 14, 2008 5:49 PM
> Subject: Re: [iText-questions] Tiff to pdf conversion - CCITT Fax 
> Group4compression
> 
> 
> > My thoughts are the files may have a different bit order 
> (big-endian vs. 
> > little-endian) in some cases depending on OS and the TIF generator.
> >
> > Howard Shank
> >
> > ----- Original Message ----
> > From: Paulo Soares <[EMAIL PROTECTED]>
> > To: Post all your questions about iText here 
> > <itext-questions@lists.sourceforge.net>
> > Sent: Wednesday, May 14, 2008 11:30:46 AM
> > Subject: Re: [iText-questions] Tiff to pdf conversion - 
> CCITT Fax Group 
> > 4compression
> >
> > I'm not surprised that some tiffs may fail but I'm really 
> surprised that
> > they work in Windows but not in Linux. I only use Windows, 
> I can't test
> > this.
> >
> > Paulo
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED]
> >> [EMAIL PROTECTED] On
> >> Behalf Of Jamal Mohideen
> >> Sent: Wednesday, May 14, 2008 3:54 PM
> >> To: itext-questions@lists.sourceforge.net
> >> Subject: [iText-questions] Tiff to pdf conversion - CCITT Fax
> >> Group 4compression
> >> Importance: High
> >>
> >> Hi There,
> >>
> >> We are facing problem in converting some tiff files to PDF,
> >> specifically CCITT Fax group 4 compression type files.
> >>
> >> These tiff's are always failing with the method call
> >> "TiffImage.getTiffImage(ra, c + 1);" in Linux environment.
> >>
> >> but when we use the direct read option
> >> "TiffImage.getTiffImage(ra, c + 1, true);", then the
> >> conversion generating invalid pdf files (image in pdf is not
> >> viewable, probably corrupted).
> >>
> >> I have attached the input tiff files and respective PDF
> >> generated from the program. FYI, multiple are added into
> >> single PDF file.
> >>
> >> PDF file Image_D435.pdf generated using d435-*.tif and PDF
> >> file Image_D382.pdf generated using d382-*.tif
> >>
> >> The conversion is always success when I convert these tiff
> >> files in Windows (Development PC Windows XP SP2), the problem
> >> is appearing when running in Linux.
> >>
> >> Part of Java code used for pdf conversion has been attached
> >> with this email.
> >>
> >> Could you please look into the tiff and provide your feedback..
> >>
> >>
> >> Thanks and Regards,
> >> Jamal Mohideen


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
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