openmicroscopy/bioformats — pull request #49 by hinerm (2012-03-29 21:49:47+00:00)
Title: Fix imgsaver

This branch offers several improvements on with the ImgSaver class (and related methods in AxisGuesser) including:

- no longer passing compositeChannelCounts to populate MetadataStore when saving (uses fixed value of "1", as channels are already in separate planes in ImgLib structure, which is appropriate for Bio-Formats)

- Only compress unknown axes to the Channel axis, instead of arbitrary axes. This also corrected a bug where certain compressible axis orderings were being rejected. To clarify, now, XYuCuZT is now acceptable (where u is an unknown axis in the ImgPlus) but XYCZuT is not (because the unknown axis can not be merged with Channel).

- Added checking method to ImgSaver to determine if an ImgPlus's axes require compression.