As Bio-Formats becomes increasingly indispensable within QuPath, I’d really appreciate any advice on how best to include it.
Based on Using Bio-Formats as a Java library, I’ve tried a few things:
- Requesting users download bioformats_package.jar themselves
- Including bioformats_package.jar in QuPath (this causes some slf4j trouble)
- Including
formats-gpl
with Gradle
The last option seems the most reliable, but it results in a lot of other dependencies being included (MinIO may be especially culpable). They aren’t really doing any harm, but I’d rather streamline things as possible - not least to help with bundling up all third party licenses.
Since I saw in the docs most additional libraries are optional I had a look at Fiji, and it seems to contain a restricted set of jars (this one?), but I’m not sure how this is managed.
Are there any tips about how to include ‘the right amount of’ Bio-Formats in an application like QuPath?