Ticket #575 (closed enhancement: fixed)
Opened 2010-09-30T17:58:00-05:00
Last modified 2011-02-02T04:45:00-06:00
Make it easier to get/set the pixels' compression type
Reported by: | melissa | Owned by: | melissa |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | bio-formats | Severity: | non-issue |
Keywords: | Cc: | simon.blanchoud@… | |
Blocked By: | Blocking: |
Description (last modified by curtis)
The reader API currently does not have any way of providing the compression type used on a file's pixels. This is somewhat related to ome-xml:#76, and would be most useful for formats that can be both imported and exported.
Also, the writer API for setting compression types is kind of a mess. It might be nice to enumify the compression types - we've already done this for TIFF, but it's not exposed at the TiffWriter/IFormatWriter level.
We do have a convention of putting a key called "Compression" in the original metadata table, with the name of the codec used. For an immediate solution we could implement this convention for more readers. But I agree that ultimately it would be good to have a real method in the API.