Link

Add as a Maven dependency

In order to use JDeli in a Maven project, you will need to add the jar to the project as a dependency. This can be done in two ways.

Manually

  1. Download the JDeli jar from here
  2. Install jar into your local maven repository
    mvn install:install-file -Dfile=<path-to-JDeli-jar> -DgroupId=com.idrsolutions -Dpackaging=jar -DartifactId=jdeli -Dversion=1.0  
    
  3. Once done this can be added to your project by adding the following to your pom file dependencies.
    <dependencies>
        <dependency>
            <groupId>com.idrsolutions</groupId>
            <artifactId>jdeli</artifactId>
            <version>1.0</version>
        </dependency>
    </dependencies>
    

    The example above is using the values from step 2, if you used custom values you will need to update these.

Using Our Remote Repository

  1. In order to use our remote repository, you need to add your login information to your user settings.xml, this can be found in your .m2 directory (usually in %userprofile%\.m2\ for windows, and ~/.m2/ for linux/mac). If settings.xml does not already exist, you can create it yourself (A reference for the file can be found here).

    Once in your settings.xml, add the following to your servers:

    <servers>
        <server>
            <id>IDRsolutions</id>
            <username>{Customer Username or Trial Token}</username>
            <password>{Customer Password or Trial Token}</password>
        </server>
    </servers>
    

    Please note that if you’re trying to access the trial jar then you must set both the username and password to your trial token

  2. Then, in your project’s pom file, you can add our remote repository with:
    <repositories>
       <repository>
           <id>IDRsolutions</id>
           <name>IDR Solutions</name>
           <url>https://maven.idrsolutions.com</url>
       </repository>
    </repositories>
    
  3. Finally, also in your project’s pom file, you need to add JDeli as a dependency:
    <dependencies>
        <dependency>
            <groupId>com.idrsolutions</groupId>
            <artifactId>{artifactId}</artifactId>
            <version>{YYYY.MM}</version>
        </dependency>
    </dependencies>
    

    Customer Artifact IDs:

    • jdeli where version is in the format YYYY.MM

    Trial Artifact IDs:

    • jdeli-trial where version is in the format YYYY.MM

    Daily Builds:

    Customers may access daily builds with the following artifact IDs. Please note that we only store the most recent daily build.

    • jdeli-daily where version is in the format YYYY.MM.DD

Why JDeli?

  • Support image formats such as AVIF, HEIC and JPEG XL (AVIF soon) that are not supported in Java.
  • Process images up to 3x faster than ImageIO and alternative Java image libraries.
  • Prevent JVM crashes caused by native code in other image libraries such as ImageIO.
  • Handle JPEG, PNG, TIFF image file formats fully in Java.
  • Keep your Image files secure as JDeli makes no calls to any external system or third party library.

Start Your Free Trial