Просмотрите наши продукты

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 для .NET 22.5

Скачать  Форум поддержки 

Сведения о файле

  • Загрузки:
  • 3
  • Размер файла:
  • 25.3 MB
  • Дата добавления:
  • : 2 weeks ago [5/4/2022]

Примечания к выпуску

Описание

Он содержит Aspose.PSD для выпуска .NET 22.5.

Сведения о файле

Улучшенная непрозрачность в эффекте тени

В этой версии API улучшено свойство непрозрачности DropShadowEffect. В следующем примере кода C# показано, как указать прозрачность двух отдельных изображений PNG через API:

string inputFile = "input.psd";
string outputImage20 = "outputImage20.png";
string outputImage200 = "outputImage200.png";

using (PsdImage psdImage = (PsdImage)Image.Load(inputFile, new LoadOptions()))
{
    Layer workLayer = psdImage.Layers[1];

    DropShadowEffect dropShadowEffect = workLayer.BlendingOptions.AddDropShadow();
    dropShadowEffect.Distance = 0;
    dropShadowEffect.Size = 8;

    // Example with Opacity = 20
    dropShadowEffect.Opacity = 20;
    psdImage.Save(outputImage20, new PngOptions());

    // Example with Opacity = 200
    dropShadowEffect.Opacity = 200;
    psdImage.Save(outputImage200, new PngOptions());
}

Новое свойство EffectType

В интерфейс ILayerEffect добавлено новое свойство EffectType.

Полный список функций, улучшений и исправлений ошибок в этом выпуске можно найти на странице Aspose.PSD for .NET 22.5 - Release Notes.

 Русский