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.ImagingAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 22.05
Syntaxpublic virtual void ReplaceNonTransparentColors(
int newColorArgb
)
Public Overridable Sub ReplaceNonTransparentColors (
newColorArgb As Integer
)
public:
virtual void ReplaceNonTransparentColors(
int newColorArgb
)
abstract ReplaceNonTransparentColors :
newColorArgb : int -> unit
override ReplaceNonTransparentColors :
newColorArgb : int -> unit
Parameters
- newColorArgb
- Type: SystemInt32
New color ARGB value to replace non transparent colors with.
See Also