Aspose.PSD for Python via .NET 25.4 - Release Notes
Contents
[
Hide
]
This page contains release notes for Aspose.PSD for Python via .NET 25.4
Key | Summary | Category |
---|---|---|
PSDPYTHON-177 | [AI Format] Handle inline images in content streams | Feature |
PSDPYTHON-179 | Error on reading structures from VogkResource on NetFramework project | Bug |
PSDPYTHON-180 | [AI Format] Resolving rendering issues on NET7.0 framework | Bug |
PSDPYTHON-181 | [AI Format] Resolving rendering issues with Type 2 Shading | Bug |
PSDPYTHON-182 | [Ai format] Remove the crop of bottom part of Ai image on rendering | Bug |
Public API Changes
Added APIs:
- F:Aspose.PSD.FileFormats.Ai.AiFormatVersion.PsAdobeEpsf
Removed APIs:
- None
Usage examples:
PSDPYTHON-177. [AI Format] Handle inline images in content streams
inputFile = "Inline_Image1.ai"
outputFile = "output_Inline_Image1.png"
with AiImage.load(inputFile) as image:
image.save(outputFile, PngOptions())
PSDPYTHON-179. Error on reading structures from VogkResource on NetFramework project
inputFile = "AllTypesLayerPsd2_ok.psd"
with PsdImage.load(inputFile) as psdImage:
# Should be no exception
pass
PSDPYTHON-180. [AI Format] Resolving rendering issues on NET7.0 framework
sourceFile = self.GetFileInBaseFolder("Elements-01.ai")
outputFile = self.GetFileInOutputFolder("Elements-01.png")
with AiImage.load(sourceFile) as image:
image.save(outputFile, PngOptions())
PSDPYTHON-181. [AI Format] Resolving rendering issues with Type 2 Shading
files = [
("Input1.ai", "output_1.png"),
("Input_3.ai", "output_3.png"),
("Input_4.ai", "output_4.png")
]
for sourceFile, outputFile in files:
sourceFilePath = self.GetFileInBaseFolder(sourceFile)
outputFilePath = self.GetFileInOutputFolder(outputFile)
referenceFilePath = self.GetFileInBaseFolder(outputFile)
with AiImage.load(sourceFilePath) as image:
image.save(outputFilePath, PngOptions())
PSDPYTHON-182. [Ai format] Remove the crop of bottom part of Ai image on rendering
inputFile = self.GetFileInBaseFolder("raster.ai")
outputFile = self.GetFileInOutputFolder("output_raster.png")
referenceFile = self.GetFileInBaseFolder("output_raster.png")
with AiImage.load(inputFile) as image:
image.save(outputFile, PngOptions())