#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 357/week @ 2024-08-28 43/week @ 2024-09-04 61/week @ 2024-09-11 148/week @ 2024-09-18 80/week @ 2024-09-25 30/week @ 2024-10-02 24/week @ 2024-10-09 10/week @ 2024-10-16 11/week @ 2024-10-23 19/week @ 2024-10-30 12/week @ 2024-11-06 145/week @ 2024-11-13

192 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
~79K SLoC