Some files work and some don't and it has nothing to do with the size. You can read the files with System.Drawing.Image.FromFile().
Paulo > -----Original Message----- > From: Khare, Mayank [mailto:[email protected]] > Sent: Thursday, May 28, 2009 7:42 AM > To: [email protected] > Subject: [iText-questions] TIFF to PDF Merging Issue. > > Question: > > > > I am merging 4-5 different images into one PDF using ITEXTSHARP DLL. > > I am using > iTextSharp.text.pdf.codec.TiffImage.GetTiffImage(RandomAccessF > ileOrArray, int Page) method for taking TIFF file. > > But if the dimension of file is small(1728 X 2195 with size > 15 kB) the merging is done but if I am using bigger file > like(1722 X 2288 with size 47 KB) it is giving "Scanline must > begin with EOL code word." Error. I have the latest version > of itextsharp dll 4.1.2. 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.
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
