Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose hosts all Java APIs on Maven repository. You can easily use Aspose.Cells for Java API directly in your Maven Projects with simple configurations.
First, you need to specify Aspose Maven Repository configuration/location in your Maven pom.xml as below:
<repositories>
<repository>
<id>AsposeJavaAPI</id>
<name>Aspose Java API</name>
<url>https://releases.aspose.com/java/repo/</url>
</repository>
</repositories>for Gradle in your build.gradle script as follows:
```java
//Add Aspose maven repository
repositories {
mavenCentral()
maven {
url "https://releases.aspose.com/java/repo/"
}
}
```Then define Aspose.Cells for Java API dependency in your pom.xml as follows (This will include everything, e.g., main jar file, JavaDocs, and other libraries accordingly):
```xml
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cells</artifactId>
<version>25.12</version>
</dependency>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-cells</artifactId>
<version>25.12</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.68</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.68</version>
</dependency>
</dependencies>
```Congratulations! You have successfully defined the Aspose.Cells for Java Maven dependency in your Maven project.
WebP is a modern image format. It is designed to produce smaller file sizes while maintaining high visual quality.
Currently, in Microsoft Excel, WebP images are not allowed to be inserted directly. However, there are cases where WebP images are inserted into Excel source files directly by some third‑party libraries.
Generally, Aspose.Cells for Java uses Java’s ImageIO to load raster images, but the JDK itself does not support loading WebP images. Some additional plugins or extensions (e.g., the imageio‑webp Plugin) are needed for Java’s ImageIO to load WebP images.
As we stated above, Aspose.Cells for Java requires only the Java Runtime Environment, and you do not need to install any additional libraries. However, sometimes there are situations where you might need to add third‑party libraries. Java Advanced Imaging (JAI) is required to support TIFF images. TIFF images are not supported by Java 8 and older. For TIFF support in old Java environments, Aspose.Cells for Java depends on the Java Advanced Imaging (JAI) package from Oracle. We will describe how to install JAI below.
Follow these steps to install native JAI and ImageIO on Windows:
Follow these steps to install native JAI and ImageIO on Linux:
Download JAI 1.1.3 choosing the appropriate architecture: i586 for 32‑bit systems and amd64 for 64‑bit ones (even if using Intel processors).
Extract the file into a temporary directory.
Move JAR files to the JDK/JRE lib/ext folder.
Move SO files to the JDK/JRE lib/amd64 folder.
For example, on a 64‑bit Ubuntu system, steps 1‑4 will look like this:
cd /tmp
wget https://download.java.net/media/jai/builds/release/1_1_3/jai-1_1_3-lib-linux-amd64.tar.gz && \
gunzip -c jai-1_1_3-lib-linux-amd64.tar.gz | tar xf - && \
mv /tmp/jai-1_1_3/lib/*.jar $JAVA_HOME/jre/lib/ext/ && \
mv /tmp/jai-1_1_3/lib/*.so $JAVA_HOME/jre/lib/amd64/ && \
rm /tmp/jai-1_1_3-lib-linux-amd64.tar.gz && \
rm -r /tmp/jai-1_1_3
Download JAI Image I/O 1.1, choosing the appropriate architecture: i586 for 32‑bit systems and amd64 for 64‑bit ones (even if using Intel processors).
Extract the file into a temporary directory.
Move JAR files to the JDK/JRE lib/ext folder.
Move SO files to the JDK/JRE lib/amd64 folder.
For example, on a 64‑bit Ubuntu system, steps 5‑8 will look like this:
cd /tmp
wget https://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-linux-amd64.tar.gz && \
gunzip -c jai_imageio-1_1-lib-linux-amd64.tar.gz | tar xf - && \
mv /tmp/jai_imageio-1_1/lib/*.jar $JAVA_HOME/jre/lib/ext/ && \
mv /tmp/jai_imageio-1_1/lib/*.so $JAVA_HOME/jre/lib/amd64/ && \
rm /tmp/jai_imageio-1_1-lib-linux-amd64.tar.gz && \
rm -r /tmp/jai_imageio-1_1
Please check the following to get quick technical support:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.