Installation
Overview
Aspose.PSD FOSS for Java is published on Maven Central. Add it as a dependency and your build tool downloads it. The library has no third-party runtime dependency.
Prerequisites
| Requirement | Detail |
|---|---|
| Java | 11 or later. The library is compiled for Java 11 and was run on Java 11, 17 and 21. |
| Java module | java.desktop (for java.awt.Color), needed to load indexed-color documents. In a test on a runtime that had only java.base, RGB, CMYK and PSB files loaded without it. Every desktop JDK includes the module. |
| Build tool | Maven, or any tool that can put a jar on the class path. |
| Operating system | Any operating system that runs Java. |
| Adobe Photoshop | Not needed. The library reads and writes PSD and PSB files itself. |
Step 1: Add the Dependency
Add the package to your build:
<dependency>
<groupId>org.aspose</groupId>
<artifactId>aspose-psd-foss</artifactId>
<version>26.11.0</version>
</dependency>The package has no runtime dependencies of its own, so Maven downloads nothing else for it.
Step 2: Use the Jar Without a Build Tool
Each release on GitHub also carries the jar, its sources and javadoc jars, their signatures, and a checksum file named SHA256SUMS. Download the jar and add it to your class path if you do not use Maven.
Step 3: Check the Installation
Build your project. If the build resolves org.aspose:aspose-psd-foss:26.11.0 and your code compiles against org.aspose.psd.PsdImage, the library is in place. The Quick Start lists the calls to try first.