Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #4166 (closed)

Opened 9 years ago

Closed 2 years ago

Add support for TIFF files with FillOrder == 2

Reported by: mlinkert Owned by:
Priority: major Milestone: Unscheduled
Component: Bio-Formats Version: OMERO-5.2.0
Keywords: TiffReader Cc: carlson14@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by mlinkert)

See example file in data/tiff/john/.

In essence, the bits in each byte are reversed. We could probably just add a 'reverse()' method to BitBuffer? that would reverse all of the bits in each byte; this could then be called by TiffParser? as needed.

Change History (6)

comment:1 Changed 9 years ago by jmoore

imported from bio-formats:#589

comment:2 Changed 8 years ago by mlinkert

  • Description modified (diff)
  • Milestone changed from OME-5.0 to OMERO-Beta4.3.2

comment:3 Changed 8 years ago by mlinkert

  • Milestone changed from OMERO-Beta4.3.2 to Unscheduled

comment:4 Changed 6 years ago by crueden-x

A user reported this limitation to the ImageJ mailing list today, so we fixed the issue in SCIFIO. The bug-fix in Bio-Formats would be comparable.

comment:5 Changed 4 years ago by mlinkert

  • Keywords TiffReader added
  • Owner mlinkert deleted
  • Version set to OMERO-5.2.0

Note that BitBuffer? is no longer used for reading bits; the readBits(int) method in RandomAccessInputStream? is used instead (see https://github.com/openmicroscopy/bioformats/blob/develop/components/formats-bsd/src/loci/formats/tiff/TiffParser.java#L1155). It's worth at least considering doing the reversal at the I/O level rather than the TIFF level, in case some other format needs this feature in the future.

comment:6 Changed 2 years ago by mlinkert

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.76039 sec.)

We're Hiring!