Browse our Products

Aspose.PSD for Python via .NET 26.3 - Release Notes

KeySummaryCategory
PSDPYTHON-290Update processing of parameter Technique-Softer of Outer glow effect on rendering.Feature
PSDPYTHON-291Warp transformation grid is incorrect for specific cases.Bug
PSDPYTHON-292Rendering of outer glow differs from the original PS rendering noticeable.Bug
PSDPYTHON-293The warp arc algorithm must be changed.Bug

Public API Changes

Added APIs:

  • None

Removed APIs:

  • None

Usage examples:

PSDPYTHON-290. Update processing of parameter Technique-Softer of Outer glow effect on rendering.

sourceFile = "OuterGlow_Softer.psd"
outputFile = "output_OuterGlow_Softer.png"

loadOpt = PsdLoadOptions()
loadOpt.load_effects_resource = True

with PsdImage.load(sourceFile, loadOpt) as img:
    pngOpt = PngOptions()
    pngOpt.color_type = PngColorType.TRUECOLOR_WITH_ALPHA
    img.save(outputFile, pngOpt)

PSDPYTHON-291. Warp transformation grid is incorrect for specific cases.

sourceFile = "input.psd"
outputFile = "export.png"

loadOpt = PsdLoadOptions()
loadOpt.allow_warp_repaint = True
loadOpt.load_effects_resource = True

pngOpt = PngOptions()
pngOpt.color_type = PngColorType.TRUECOLOR_WITH_ALPHA

with PsdImage.load(sourceFile, loadOpt) as img:
    psdImage = cast(PsdImage, img)
    psdImage.save(outputFile, pngOpt)

PSDPYTHON-292. Rendering of outer glow differs from the original PS rendering noticeable.

sourceFile = "OuterGlow.psd"
outputFile = "output_OuterGlow.png"

loadOpt = PsdLoadOptions()
loadOpt.load_effects_resource = True

pngOpt = PngOptions()
pngOpt.color_type = PngColorType.TRUECOLOR_WITH_ALPHA

with PsdImage.load(sourceFile, loadOpt) as img:
    psdImage = cast(PsdImage, img)
    psdImage.save(outputFile, pngOpt)

PSDPYTHON-293. The warp arc algorithm must be changed.

arcSourceFile = "arc_warp.psd"
arcOutputFile = "arc_export.png"

loadOpt = PsdLoadOptions()
loadOpt.allow_warp_repaint = True
loadOpt.load_effects_resource = True

pngOpt = PngOptions()
pngOpt.color_type = PngColorType.TRUECOLOR_WITH_ALPHA

with PsdImage.load(arcSourceFile, loadOpt) as img:
    psdImage = cast(PsdImage, img)
    psdImage.save(arcOutputFile, pngOpt)

arcvSourceFile = "arc_v_warp.psd"
arcvOutputFile = "arc_v_export.png"

with PsdImage.load(arcvSourceFile, loadOpt) as img:
    psdImage = cast(PsdImage, img)
    psdImage.save(arcvOutputFile, pngOpt)