Navegue pelos nossos produtos 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.
Adicionado suporte do .NET 6 Framework à API.
Foi adicionado suporte para definir as camadas de ajuste de vibração usando a 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()); }
Uma classe vibAResource foi adicionada à API que permite configurar, obter e definir várias propriedades relacionadas à vibração de qualquer arquivo PSD do Photoshop®. O exemplo a seguir em código C# define as propriedades de vibração e saturação via 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); }
Para obter uma lista completa de recursos, aprimoramentos e correções de bugs nesta versão, visite Aspose.PSD for .NET 22.2 - Release Notes.