RasterImageReplaceNonTransparentColors Method (Color) |
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.ImagingAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 22.05
Syntaxpublic void ReplaceNonTransparentColors(
Color newColor
)
Public Sub ReplaceNonTransparentColors (
newColor As Color
)
public:
void ReplaceNonTransparentColors(
Color newColor
)
member ReplaceNonTransparentColors :
newColor : Color -> unit
Parameters
- newColor
- Type: Aspose.ImagingColor
New color to replace non transparent colors with.
See Also