This example shows how to create a glow effect with DsImaging. The Glow effect inflates all non-transparent areas of an image by a specified amount, then applies a Gaussian blur to make the border smooth. To achieve this in DsImaging, the GrayscaleBitmap.ApplyGlow() method is used on the transparency mask built from the color image on which we want the glow to appear, along with a few other simple steps as illustrated by this code.
DsImaging is compatible with .NET 6 or later, .NET Core 2.0 or later, .NET Standard 2.x, .NET Framework 4.6.1 or later. All features are supported on Windows, macOS and Linux.