NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #357 (closed defect: fixed)

Opened 2009-02-10T11:50:08-06:00

Last modified 2009-02-10T12:44:08-06:00

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 2009-02-10T12:44:08-06:00 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.