Ticket #575 (closed enhancement: fixed)

Opened 9 years ago

Last modified 9 years ago

Make it easier to get/set the pixels' compression type

Reported by: melissa Owned by: melissa
Priority: major Milestone: bio-formats-5.0
Component: bio-formats Severity: non-issue
Keywords: Cc: simon.blanchoud@…
Blocked By: Blocking:

Description (last modified by curtis) (diff)

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.

Change History

comment:1 Changed 9 years ago by curtis

  • Description modified (diff)

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.

comment:2 Changed 9 years ago by curtis

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

moved to  ome:#4157

Note: See TracTickets for help on using tickets.