浏览我们的产品 Toggle navigation
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.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
向 API 添加了对 .NET 6 Framework 的支持。
添加了支持以使用 API 设置自然饱和度调整层。
string sourceFileName = "WithoutVibrance.psd"; string outputFileNamePsd = "out_VibranceLayer.psd"; string outputFileNamePng = "out_VibranceLayer.png"; using (PsdImage image = (PsdImage) Image.Load(sourceFileName)) { // Creating a new VibranceLayer VibranceLayer vibranceLayer = image.AddVibranceAdjustmentLayer(); vibranceLayer.Vibrance = 50; vibranceLayer.Saturation = 100; image.Save(outputFileNamePsd); image.Save(outputFileNamePng, new PngOptions()); }
API 中添加了一个“vibAResource”类,允许您配置、获取和设置任何 Photoshop® PSD 文件的各种与活力相关的属性。以下 C# 代码示例通过 API 设置鲜艳度和饱和度属性:
string sourceFileName = "VibranceResource.psd"; string outputFileName = "out_VibranceResource.psd"; using (PsdImage image = (PsdImage)Image.Load(sourceFileName)) { foreach (var layer in image.Layers) { foreach (var resource in layer.Resources) { if (resource is VibAResource) { var vibranceResource = (VibAResource)resource; int vibranceValue = vibranceResource.Vibrance; int saturationValue = vibranceResource.Saturation; vibranceResource.Vibrance = vibranceValue * 2; vibranceResource.Saturation = saturationValue * 2; break; } } } image.Save(outputFileName); }
有关此版本中的功能、增强功能和错误修复的完整列表,请访问 Aspose.PSD for .NET 22.2 - Release Notes。