Jelajahi Produk kami 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.
Menambahkan dukungan .NET 6 Framework ke API.
Dukungan telah ditambahkan untuk mengatur Lapisan Penyesuaian Vibrance menggunakan 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()); }
Kelas vibAResource telah ditambahkan ke API yang memungkinkan Anda untuk mengonfigurasi, mendapatkan, dan mengatur berbagai properti terkait vibrance dari file PSD Photoshop® apa pun. Contoh berikut dalam kode C# menyetel properti vibrance dan saturation melalui 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); }
Untuk daftar lengkap fitur, penyempurnaan, dan perbaikan bug dalam rilis ini, kunjungi Aspose.PSD for .NET 22.2 - Release Notes.