RasterImageReplaceNonTransparentColors Method (Int32)
Replaces all non-transparent colors with new color and preserves original alpha value to save smooth edges. Note: if you use it on images without transparency, all colors will be replaced with a single one.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public virtual void ReplaceNonTransparentColors(
	int newColorArgb
)

Parameters

newColorArgb
Type: SystemInt32
New color ARGB value to replace non transparent colors with.
See Also