ome / bioformats

Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the Open Microscopy Environment. Bio-Formats is released under the GNU General Public License (GPL); commercial licenses are available from Glencoe Software.
https://www.openmicroscopy.org/bio-formats
GNU General Public License v2.0
371 stars 241 forks source link

SVS: remove thumbnails and improve label/macro detection #4144

Closed melissalinkert closed 5 months ago

melissalinkert commented 5 months ago

Fixes #3757.

As discussed at the end of #3757, thumbnail images are now removed by default. The svs.remove_thumbnail option controls this behavior; it is false by default but setting to true should cause thumbnails to be included (matching behavior without this PR).

816a588 and 2fd4489 have related updates to label/macro detection, so that the corresponding image names are set correctly for either value of svs.remove_thumbnail. Those commits also add support for the case where a label or macro image has a non-null comment that does not include label or macro; this is typically the result of anonymization/de-identification.

Configuration changes are needed to remove the thumbnails; corresponding PRs are forthcoming.