glencoesoftware / bioformats2raw

Bio-Formats image file format to raw format converter
GNU General Public License v2.0
82 stars 36 forks source link

Fix `--fill-value` to use setFillColor(...) API #257

Closed melissalinkert closed 1 month ago

melissalinkert commented 1 month ago

...so now this option can be used with all readers.

Noticed while working on #256 that --fill-value still only applied to MiraxReader. Given that setFillColor and getFillColor were added to IFormatReader in Bio-Formats 6.13.0 (see https://github.com/ome/bioformats/pull/3963), this updates --fill-value to make use of this new API. Several of the readers didn't make use of getFillColor() in openBytes, so that's been fixed too.