#bindings #java #bioformats

bioformats-rs

Rust bindings of Bioformats Java library

4 stable releases

new 1.2.0 Nov 18, 2024
1.1.1 Sep 24, 2024
1.1.0 Sep 2, 2024
1.0.0 Aug 28, 2024

#186 in Science

Download history 84/week @ 2024-08-22 286/week @ 2024-08-29 37/week @ 2024-09-05 58/week @ 2024-09-12 183/week @ 2024-09-19 45/week @ 2024-09-26 39/week @ 2024-10-03 12/week @ 2024-10-10 10/week @ 2024-10-17 10/week @ 2024-10-24 21/week @ 2024-10-31 13/week @ 2024-11-07 157/week @ 2024-11-14

202 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.81
  • 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 8.0.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
~78K SLoC