Ticket #357 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Some TIFFs cannot be read

Reported by: melissa Owned by: melissa
Priority: critical Milestone: bio-formats-4.0
Component: bio-formats Severity: major
Keywords: Cc:
Blocked By: Blocking:

Description

TIFFs that are missing the RowsPerStrip IFD entry throw the following exception:

Exception in thread "main" loci.formats.FormatException: Sorry, non-uniform RowsPerStrip is not supported
	at loci.formats.TiffTools.getSamples(TiffTools.java:1163)
	at loci.formats.in.MinimalTiffReader.openBytes(MinimalTiffReader.java:129)
	at loci.formats.FormatReader.openBytes(FormatReader.java:538)
	at loci.formats.FormatReader.openImage(FormatReader.java:521)
	at loci.formats.ImageReader.openImage(ImageReader.java:344)
	at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:485)
	at loci.formats.tools.ImageInfo.testRead(ImageInfo.java:59)
	at loci.formats.tools.ImageInfo.main(ImageInfo.java:654)

This can be reproduced using tiff/brian/tiffany.color.tiff, or pretty much anything in leica-tcs/.

Change History

comment:1 Changed 11 years ago by melissa

  • Status changed from new to closed
  • Resolution set to fixed

(In [4797]) Make sure that *all* of the RowsPerStrip entries are less than or equal to the number of rows in the image. Closes #357.

Note: See TracTickets for help on using tickets.