Browse our Products

Aspose.PSD for .NET 25.4 - Release Notes

KeySummaryCategory
PSDNET-1838[AI Format] Handle inline images in content streamsFeature
PSDNET-2347Add .NET 8 and .NET 9 Artifacts to releaseEnhancement
PSDNET-1967Error on reading structures from VogkResource on NetFramework projectBug
PSDNET-2280[AI Format] Resolving rendering issues on NET7.0 frameworkBug
PSDNET-2316[AI Format] Resolving rendering issues with Type 2 ShadingBug
PSDNET-2379[Ai format] Remove the crop of bottom part of Ai image on renderingBug

Public API Changes

Added APIs:

  • F:Aspose.PSD.FileFormats.Ai.AiFormatVersion.PsAdobeEpsf

Removed APIs:

  • None

Usage examples:

PSDNET-1838. [AI Format] Handle inline images in content streams

string inputFile = Path.Combine(baseFolder, "Inline_Image1.ai");
string outputFile = Path.Combine(outputFolder, "output_Inline_Image1.png");

using (AiImage image = (AiImage)Image.Load(inputFile))
{
    image.Save(outputFile, new PngOptions());
}

PSDNET-1967. Error on reading structures from VogkResource on NetFramework project

// Test should be executed on Net2 framework in Debug configuration
string inputFile = Path.Combine(baseFolder, "AllTypesLayerPsd2_ok.psd");

using (PsdImage psdImage = (PsdImage)Image.Load(inputFile))
{
    // Should be no exception
}

PSDNET-2280. [AI Format] Resolving rendering issues on NET7.0 framework

string sourceFile = Path.Combine(baseFolder, "Elements-01.ai");
string outputFile = Path.Combine(outputFolder, "Elements-01.png");

using (AiImage image = (AiImage)Image.Load(sourceFile))
{
    image.Save(outputFile, new PngOptions());
}

PSDNET-2316. [AI Format] Resolving rendering issues with Type 2 Shading

string sourceFile_1 = Path.Combine(baseFolder, "Input1.ai");
string outputFile_1 = Path.Combine(outputFolder, "Input1.png");

string sourceFile_2 = Path.Combine(baseFolder, "Input_3.ai");
string outputFile_2 = Path.Combine(outputFolder, "Input_3.png");

string sourceFile_3 = Path.Combine(baseFolder, "Input_4.ai");
string outputFile_3 = Path.Combine(outputFolder, "Input_4.png");

using (AiImage image = (AiImage)Image.Load(sourceFile_1))
{
    image.Save(outputFile_1, new PngOptions());
}

using (AiImage image = (AiImage)Image.Load(sourceFile_2))
{
    image.Save(outputFile_2, new PngOptions());
}

using (AiImage image = (AiImage)Image.Load(sourceFile_3))
{
    image.Save(outputFile_3, new PngOptions());
}

PSDNET-2379. [Ai format] Remove the crop of bottom part of Ai image on rendering

string inputFile = Path.Combine(baseFolder, "raster.ai");
string outputFile = Path.Combine(outputFolder, "output_raster.png");

using (AiImage image = (AiImage)Image.Load(inputFile))
{
    image.Save(outputFile, new PngOptions());
}