Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] TiffImage.java question

Jamsa, Jonathan D - Eagan, MN - Contractor

2006-06-13

Replies:

TiffImage.java question

What if the value of rowsStrip is greater than Integer.MAX_VALUE, as in the file Im currently trying to read where the value is 4294967295 ?

int rowsStrip = h;

if (dir.isTagPresent(TIFFConstants.TIFFTAG_ROWSPERSTRIP)) //another hack for broken tiffs

    rowsStrip = (int)dir.getFieldAsLong(TIFFConstants.TIFFTAG_ROWSPERSTRIP);


Any suggestions?

Jon

_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.