C# Class Common.Resources.Tools

Provides various image untilities, such as high quality resizing.
Datei anzeigen Open project: sall/vixen

Public Methods

Method Description
GetIcon ( Image image, int sideLength ) : Bitmap
ResizeImage ( Image image, int width, int height ) : Bitmap

Resize the image to the specified width and height.

Method Details

GetIcon() public static method

public static GetIcon ( Image image, int sideLength ) : Bitmap
image Image
sideLength int
return System.Drawing.Bitmap

ResizeImage() public static method

Resize the image to the specified width and height.
public static ResizeImage ( Image image, int width, int height ) : Bitmap
image Image The image to resize.
width int The width to resize to.
height int The height to resize to.
return System.Drawing.Bitmap