Browse our Products

Aspose.PSD for Java 25.4 - Release Notes

KeySummaryCategory
PSDJAVA-725[AI Format] Handle inline images in content streamsFeature
PSDJAVA-726Error on reading structures from VogkResource on NetFramework projectBug
PSDJAVA-727[AI Format] Resolving rendering issues with Type 2 ShadingBug
PSDJAVA-728[AI format] Remove the crop of bottom part of Ai image on renderingBug

Public API Changes

Added APIs:

  • F:com.aspose.psd.fileformats.ai.AiFormatVersion.PsAdobeEpsf

Removed APIs:

  • None

Usage examples:

PSDJAVA-725. [AI Format] Handle inline images in content streams

    String inputFile = "src/main/resources/Inline_Image1.ai";
    String outputFile = "src/main/resources/output_Inline_Image1.png";

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

PSDJAVA-726. Error on reading structures from VogkResource on NetFramework project

    // Test should be executed on Net2 framework in Debug configuration
    String inputFile = "src/main/resources/AllTypesLayerPsd2_ok.psd";

    try (PsdImage psdImage = (PsdImage) Image.load(inputFile)) {
        // Should be no exception
    }

PSDJAVA-727. [AI Format] Resolving rendering issues with Type 2 Shading

    String sourceFile_1 = "src/main/resources/Input1.ai";
    String outputFile_1 = "src/main/resources/Input1.png";

    String sourceFile_2 = "src/main/resources/Input_3.ai";
    String outputFile_2 = "src/main/resources/Input_3.png";

    String sourceFile_3 = "src/main/resources/Input_4.ai";
    String outputFile_3 = "src/main/resources/Input_4.png";

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

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

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

PSDJAVA-728. [AI format] Remove the crop of bottom part of Ai image on rendering

    String inputFile = "src/main/resources/raster.ai";
    String outputFile = "src/main/resources/output_raster.png";

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