Task #4166 (closed)
Opened 14 years ago
Closed 7 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 14 years ago by jmoore
comment:2 Changed 13 years ago by mlinkert
- Description modified (diff)
- Milestone changed from OME-5.0 to OMERO-Beta4.3.2
comment:3 Changed 13 years ago by mlinkert
- Milestone changed from OMERO-Beta4.3.2 to Unscheduled
comment:4 Changed 10 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 9 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 7 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
imported from bio-formats:#589