C# Class FirstFloor.ModernUI.Helpers.BitmapSourceExtension

Datei anzeigen Open project: gro-ove/actools

Public Methods

Method Description
Resize ( this bitmap, int width, int height, BitmapScalingMode scalingMode = BitmapScalingMode.HighQuality ) : System.Windows.Media.Imaging.BitmapFrame
SaveAsPng ( this bitmap, string filename ) : void

Method Details

Resize() public static method

public static Resize ( this bitmap, int width, int height, BitmapScalingMode scalingMode = BitmapScalingMode.HighQuality ) : System.Windows.Media.Imaging.BitmapFrame
bitmap this
width int
height int
scalingMode BitmapScalingMode
return System.Windows.Media.Imaging.BitmapFrame

SaveAsPng() public static method

public static SaveAsPng ( this bitmap, string filename ) : void
bitmap this
filename string
return void