Просмотрите наши продукты 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, который позволяет вам настраивать, получать и устанавливать различные свойства, связанные с вибрацией, любых PSD-файлов Photoshop®. В следующем примере в коде C# свойства вибрации и насыщенности задаются через API:
vibAResource
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.