Re: [iText-questions] NPE in TiffImage if RowsPerStrip is missing

2003-08-22 Thread Paulo Soares
Thank you, the fix was applied. Best Regards, Paulo Soares - Original Message - From: "Ronald Dauster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 22, 2003 8:30 Subject: [iText-questions] NPE in TiffImage if RowsPerStrip is missing

[iText-questions] NPE in TiffImage if RowsPerStrip is missing

2003-08-22 Thread Ronald Dauster
iText 1.0 throws a NullPointerException if one tries to read a bilevel TIFF image that does not contain the RowsPerStrip tag (278).   According to the TIIF 6.0 specification, pg. 39, RowsPerStrip is optional and has a default value of 2**32-1.   The following trivial patch fixes this.   /src

[iText-questions] NPE in TiffImage if RowsPerStrip is missing

2003-08-22 Thread Ronald Dauster
iText 1.0 throws a NullPointerException if one tries to read a bilevel TIFF image that does not contain the RowsPerStrip tag (278).   According to the TIIF 6.0 specification, pg. 39, RowsPerStrip is optional and has a default value of 2**32-1.   The following trivial change fixes this.   /s