浏览我们的产品

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.PSD for .NET 22.1

下载  支持论坛 

文件详情

  • 下载:
  • 18
  • 文件大小:
  • 22.5 MB
  • Posted By:
  • DmitriySorokin
  • 浏览量:
  • 34
  • 添加日期:
  • 12/28/2021

文件详情

改进了图案叠加的应用

以前 PatternOverlay 只能应用一次。现在这个问题已经在 API 中修复了。

优化高斯模糊渲染

能够以更优化的方式渲染高斯模糊智能滤镜。以下是通过 API 应用高斯模糊的 C# 代码示例:

string sourceFilte = "psdnet991_layers.psd";
string outputPsd = "out_psdnet991_layers.psd";
string outputPng = "out_psdnet991_layers.png";

    using (var image = (PsdImage)Image.Load(sourceFilte))
    {
        SmartObjectLayer smartLayer = (SmartObjectLayer)image.Layers[1];
        Layer maskLayer = image.Layers[2];
        Layer regularLayer = image.Layers[3];

        GaussianBlurSmartFilter gaussianBlur = new GaussianBlurSmartFilter();
        gaussianBlur.Radius = 10;

        // Apply filter to SmartObject
        gaussianBlur.Apply(smartLayer);
        smartLayer.SmartFilters.UpdateResourceValues();
        smartLayer.UpdateModifiedContent();

        // Apply filter to layer mask
        gaussianBlur.ApplyToMask(maskLayer);

        //Apply filter to layer
        gaussianBlur.Apply(regularLayer);

        image.Save(outputPsd);
        image.Save(outputPng, new PngOptions() { ColorType = PngColorType.TruecolorWithAlpha });
    }

改进的 PattResource 支持

在 PattResource 添加了对许多模式数据的支持。

有关此版本中的功能、增强和错误修复的完整列表,请访问 Aspose.PSD for .NET 22.1 - Release Notes

 简体中文