#bindings #java #bioformats

bioformats-rs

Rust bindings of Bioformats Java library

4 stable releases

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

#194 in Science

Download history 120/week @ 2024-08-24 262/week @ 2024-08-31 62/week @ 2024-09-07 33/week @ 2024-09-14 191/week @ 2024-09-21 29/week @ 2024-09-28 39/week @ 2024-10-05 9/week @ 2024-10-12 17/week @ 2024-10-19 10/week @ 2024-10-26 22/week @ 2024-11-02 19/week @ 2024-11-09 157/week @ 2024-11-16 67/week @ 2024-11-23 82/week @ 2024-11-30

330 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