Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

scifio-bf-compat

SCIFIO plug-in allowing the use Bio-Formats readers.

Usage

Short version: Add the following dependencies to your project:

To ensure version compatibility, you should import or extend net.imagej:pom-imagej, which manages the Bill of Materials. Doing this allows you to declare the above dependencies without explicitly specifying their respective versions.

Be aware that the first three components above are licensed under BSD-2, whereas ome:formats-gpl is licensed under the GPL, which might affect your project's licensing.

Details: Add the following blocks to your Maven POM:

<dependencyManagement>
  <dependencies>
    <!-- NB: Inherit the SCIFIO version management. -->
    <dependency>
      <groupId>net.imagej</groupId>
      <artifactId>pom-imagej</artifactId>
      <version>5.12.0</version>
    </dependency>
  </dependencies>
</dependencyManagement>
...
<dependencies>
  ...
  <dependency>
    <groupId>io.scif</groupId>
    <artifactId>scifio</artifactId>
  </dependency>
  <dependency>
    <groupId>io.scif</groupId>
    <artifactId>scifio-bf-compat</artifactId>
    <scope>runtime</scope>
  </dependency>
  <!-- The formats-bsd component adds support for open formats. -->
  <dependency>
    <groupId>ome</groupId>
    <artifactId>formats-bsd</artifactId>
    <scope>runtime</scope>
  </dependency>
  <!-- The formats-gpl component adds support for proprietary formats. -->
  <dependency>
    <groupId>ome</groupId>
    <artifactId>formats-gpl</artifactId>
    <scope>runtime</scope>
  </dependency>
  ...
</dependencies>
...
<repositories>
  <!-- NB: For SCIFIO and Bio-Formats dependencies. -->
  <repository>
    <id>imagej.public</id>
    <url>http://maven.imagej.net/content/groups/public</url>
  </repository>
</repositories>

See the Bio-Formats supported formats table for a full breakdown of which file formats are supported by ome:formats-bsd vs. ome:formats-gpl.

About

SCIFIO (@scifio/scifio) plug-in allowing the of use Bio-Formats readers.

Resources

License

You can’t perform that action at this time.