Hi,

I get this error when trying to read a TIFF Image, is anyone familiar with this 
exception and how to fix the image files ? 

Here is a link to the image - 
http://sites.google.com/site/windwardapps/xml/Fidelity.tif

Exception: Source array type cannot be assigned to destination array 
type.

Stack: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, 
Array destinationArray, Int32 destinationIndex, Int32 length, Boolean 
reliable)

at iTextSharp.text.pdf.RandomAccessFileOrArray.Read(Byte[] b, Int32 
off, Int32 len)

at iTextSharp.text.pdf.RandomAccessFileOrArray.ReadFully(Byte[] b, 
Int32 off, Int32 len)

at 
iTextSharp.text.pdf.codec.TIFFDirectory.Initialize(RandomAccessFileOrArr 
ay stream)

at 
iTextSharp.text.pdf.codec.TIFFDirectory..ctor(RandomAccessFileOrArray 
stream, Int32 directory)

at 
iTextSharp.text.pdf.codec.TiffImage.GetTiffImage(RandomAccessFileOrArray 
s, Int32 page, Boolean direct)

at iTextSharp.text.Image.GetInstance(Byte[] imgb)

thanks
Adam M
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/

Reply via email to