C# Class WinRTXamlToolkit.Imaging.WriteableBitmapGrayscaleExtension

WriteableBitmap extensions to remove the color from the image.
Afficher le fichier Open project: xyzzer/WinRTXamlToolkit

Méthodes publiques

Méthode Description
Grayscale ( this target ) : WriteableBitmap

Removes all color from the specified bitmap.

Grayscale ( this target, double amount ) : WriteableBitmap

Removes color from the specified bitmap.

Method Details

Grayscale() public static méthode

Removes all color from the specified bitmap.
public static Grayscale ( this target ) : WriteableBitmap
target this The target bitmap.
Résultat Windows.UI.Xaml.Media.Imaging.WriteableBitmap

Grayscale() public static méthode

Removes color from the specified bitmap.
public static Grayscale ( this target, double amount ) : WriteableBitmap
target this The target bitmap.
amount double /// The 0..1 range amount of color to remove /// from the bitmap where /// 0 does not affect the bitmap and /// 1 makes the bitmap completely grayscale. ///
Résultat Windows.UI.Xaml.Media.Imaging.WriteableBitmap