#bindings #java #bioformats

bioformats-rs

Rust bindings of Bioformats Java library

3 stable releases

1.1.1 Sep 24, 2024
1.1.0 Sep 2, 2024
1.0.0 Aug 28, 2024

#188 in Science

Download history 131/week @ 2024-08-26 264/week @ 2024-09-02 50/week @ 2024-09-09 34/week @ 2024-09-16 200/week @ 2024-09-23 19/week @ 2024-09-30 43/week @ 2024-10-07 6/week @ 2024-10-14 17/week @ 2024-10-21

91 downloads per month

MIT/Apache

2MB
2.5K SLoC

Bioformats-rs

CI codecov

Rust bindings to Bioformats (https://github.com/ome/bioformats).

This work has no affiliations with the official Bioformats project.

Requirements

  • Rust ≥ 1.75
  • A Java Runtime Environment (JRE) installed on your system (>= 9)

Notes

This project is still in its early stages.

The Bioformats Java library is downloaded and extracted during the build process. Currently, the version of the Bioformats library is fixed to 7.3.1.

This crate provides a high-level API to read image files using Bioformats.

Crate structure:

  • bindings: low-level bindings to the Bioformats Java library
  • extra: additional utilities to work with Bioformats images
    • wsi: Utilities to work with whole-slide images (WSI) with interface similar to OpenSlide

Remaining work:

  • Bindings to the rest of the Bioformats API such as ImageWriter, MetadataOptions, etc.

Features:

  • extra: Enable extra utilities
  • gpl-formats: Download jar archive for GPL-licensed Bioformats formats ( see here)

Dependencies

~4–10MB
~79K SLoC