Browse our Products

Aspose.PSD for Java 25.3 - Release Notes

KeySummaryCategory
PSDJAVA-708Fix, shadow not drawn for fileBug
PSDJAVA-716[Regression] Fixing regression after implementing APS renderingBug
PSDJAVA-717[AI Format] Fixing regression at AI renderingBug
PSDJAVA-707Remake Drop Shadow effectEnhancement
PSDJAVA-718Unified blending method to improve blending in generalEnhancement

Public API Changes

Added APIs:

  • M:com.aspose.psd.PixelsData.deepClone

Removed APIs:

  • None

Usage examples:

PSDJAVA-708. Fix, shadow not drawn for file

    String src = "src/main/resources/test.psd";
    String output = "src/main/resources/output.png";

    PsdLoadOptions psdLoadOptions = new PsdLoadOptions();
    psdLoadOptions.setLoadEffectsResource(true);

    try (var psdImage = (PsdImage) Image.load(src, psdLoadOptions)) {
        PngOptions pngOptions = new PngOptions();
        pngOptions.setColorType(PngColorType.TruecolorWithAlpha);

        psdImage.save(output, pngOptions);
    }

PSDJAVA-716. [Regression] Fixing regression after implementing APS rendering

    String inputFile = "src/main/resources/shortCurve.ai";
    String outputFilePng = "src/main/resources/output_shortCurve.png";

    try (AiImage image = (AiImage) Image.load(inputFile)) {
        image.save(outputFilePng, new PngOptions());
    }

PSDJAVA-717. [AI Format] Fixing regression at AI rendering

    String sourceFile = "src/main/resources/Layers-NoImage.ai";
    String outputFile = "src/main/resources/Layers-NoImage.png";

    try (AiImage image = (AiImage) Image.load(sourceFile)) {
        image.save(outputFile, new PngOptions());
    }

PSDJAVA-707. Remake Drop Shadow effect

    String sourceFile = "src/main/resources/shadow.psd";
    String outputFilePng = "src/main/resources/output.png";

    PsdLoadOptions psdLoadOptions = new PsdLoadOptions();
    psdLoadOptions.setLoadEffectsResource(true);

    try (PsdImage psdImage = (PsdImage) Image.load(sourceFile, psdLoadOptions)) {
        var pngOptions = new PngOptions();
        pngOptions.setColorType(PngColorType.TruecolorWithAlpha);

        psdImage.save(outputFilePng, pngOptions);
    }

PSDJAVA-718. Unified blending method to improve blending in general

    String sourceFile = "src/main/resources/ApplyLayerStateTest_output_src.psd";
    String outputPng = "src/main/resources/ApplyLayerStateTest_output.png";

    PsdLoadOptions psdLoadOptions = new PsdLoadOptions();
    psdLoadOptions.setLoadEffectsResource(true);
    try (var psdImage = (PsdImage) Image.load(sourceFile, psdLoadOptions)) {
        psdImage.save(outputPng, new PngOptions());
    }