Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.mykolap:jai-imageio-core:jai-imageio-1.2-pre-dr-b04-2014-09-13'
}
dependencies {
implementation("com.github.mykolap:jai-imageio-core:jai-imageio-1.2-pre-dr-b04-2014-09-13")
}
<dependency>
<groupId>com.github.mykolap</groupId>
<artifactId>jai-imageio-core</artifactId>
<version>jai-imageio-1.2-pre-dr-b04-2014-09-13</version>
</dependency>
libraryDependencies += "com.github.mykolap" % "jai-imageio-core" % "jai-imageio-1.2-pre-dr-b04-2014-09-13"
:dependencies [[com.github.mykolap/jai-imageio-core "jai-imageio-1.2-pre-dr-b04-2014-09-13"]]
NOTE: This is a fork of the original jai-imageio-core (which is no longer maintained).
This project adds read/write support for the following file types to Java's ImageIO:
The classes of this projects are not generally used directly, but through the SPI plugin mechanism of ImageIO. See the ImageIO guide for details.
This project is called 'standalone' as unlike the original
jai-imageio-core
it has removed dependencies to jai-core packages (javax.media.jai
) and JPEG
2000 (jj2000
). This version also does not include the C
implementations from libJIIO, meaning that this version is platform independent
and fully redistributable under the 3-clause BSD license in
LICENSE.txt (and thus is Apache and GPL compatible).
JPEG 2000 support is available as an additional module jai-imageio-jpeg2000 as it has a different (non-GPL compatible) license.
If you are not concerned about GPL compatibility or source code availability, you might instead want to use https://github.com/geosolutions-it/imageio-ext/ which is actively maintained and extends the original imageio with many useful features, but depends on the binary distribution of jai_core.
You are encouraged to raise a Github Pull Request with any suggested improvements.
You can also raise an issue - your stacktrace might still be of use to someone else.
Current committers and contributors:
This project requires Java 5 or newer. To build this project, use Apache Maven 2.2.1 or newer and run:
mvn clean install
To use jai-imageio-core from a Maven project, add:
<dependency>
<groupId>com.github.jai-imageio</groupId>
<artifactId>jai-imageio-core</artifactId>
<version>1.3.1</version>
</dependency>
To find the latest <version>
above, see
jai-imageio-core at BinTray
jai-imageio-core is mirrored to Maven Central.
Alternatively (e.g. right after a new release), you can use this explicit bintray repository:
<repositories>
<repository>
<id>bintray-jai-imageio</id>
<name>jai-imageio at bintray</name>
<url>https://dl.bintray.com/jai-imageio/maven/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
The Maven repository include additional artifact types such as javadoc
and
sources
which should be picked up by your IDE's Maven integration.
To download the binary JAR, see the Downloads at BinTray or the GitHub releases
Standalone Javadoc for jai-imageio-core is also provided.
The source code for the jai-imageio-core project is copyrighted code that is licensed to individuals or companies who download or otherwise access the code.
The complete copyright notice for this project is in COPYRIGHT.txt
The source code license for this project is BSD 3-clause with an additional nuclear disclaimer, see LICENSE.txt