RasterImage.ReplaceNonTransparentColors
Contents
[
Hide
]ReplaceNonTransparentColors(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.
public void ReplaceNonTransparentColors(Color newColor)
Parameter | Type | Description |
---|---|---|
newColor | Color | New color to replace non transparent colors with. |
See Also
- struct Color
- class RasterImage
- namespace Aspose.PSD
- assembly Aspose.PSD
ReplaceNonTransparentColors(int)
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.
public virtual void ReplaceNonTransparentColors(int newColorArgb)
Parameter | Type | Description |
---|---|---|
newColorArgb | Int32 | New color ARGB value to replace non transparent colors with. |
See Also
- class RasterImage
- namespace Aspose.PSD
- assembly Aspose.PSD