C# Class Habanero.Faces.Win.Util.ImageUtil

Show file Open project: Chillisoft/habanero.faces

Public Methods

Method Description
ResizeBitmap ( Bitmap image, int width, int height = -1 ) : Bitmap
ResizeImage ( Image image, int width, int height = -1 ) : Image

Private Methods

Method Description
ScaleBitmap ( Bitmap image, int width, int height ) : Bitmap

Method Details

ResizeBitmap() public static method

public static ResizeBitmap ( Bitmap image, int width, int height = -1 ) : Bitmap
image System.Drawing.Bitmap
width int
height int
return System.Drawing.Bitmap

ResizeImage() public static method

public static ResizeImage ( Image image, int width, int height = -1 ) : Image
image Image
width int
height int
return Image