See https://github.com/ome/bioformats/pull/3876#issuecomment-1531069282
See #3876 (comment)