Version

CreateAdjustedBitmap Method

Creates a copy of the specified image and then adjusts the colors of the bitmap to use the specified hue and saturation preserving the current luminance.
Syntax
'Declaration
 
Public Shared Function CreateAdjustedBitmap( _
   ByVal image As Image, _
   ByVal hue As Single, _
   ByVal saturation As Single _
) As Bitmap
public static Bitmap CreateAdjustedBitmap( 
   Image image,
   float hue,
   float saturation
)

Parameters

image
Image whose colors are to be updated
hue
The hue is measured in degrees, ranging from 0.0 through 360.0, in HSB color space.
saturation
The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also