C# Class ImageBrowserLogic.ImageProviders.SimpleBitmapThumbnailGetter

Inheritance: ImageGetterBase
Mostrar archivo Open project: mrtgold/ImageBrowser Class Usage Examples

Public Methods

Method Description
GetTargetShape ( int origWidth, int origHeight, int thumbnailSize ) : Rectangle
GetThumbnail ( Image image, int thumbnailSize ) : Bitmap
GetThumbnail ( string filename ) : Image
SimpleBitmapThumbnailGetter ( int thumbnailSizeInPixels ) : System.Drawing

Protected Methods

Method Description
GetImageGetter ( ) : AsyncImageFromFileCaller

Method Details

GetImageGetter() protected method

protected GetImageGetter ( ) : AsyncImageFromFileCaller
return AsyncImageFromFileCaller

GetTargetShape() public static method

public static GetTargetShape ( int origWidth, int origHeight, int thumbnailSize ) : Rectangle
origWidth int
origHeight int
thumbnailSize int
return System.Drawing.Rectangle

GetThumbnail() public static method

public static GetThumbnail ( Image image, int thumbnailSize ) : Bitmap
image System.Drawing.Image
thumbnailSize int
return System.Drawing.Bitmap

GetThumbnail() public method

public GetThumbnail ( string filename ) : Image
filename string
return System.Drawing.Image

SimpleBitmapThumbnailGetter() public method

public SimpleBitmapThumbnailGetter ( int thumbnailSizeInPixels ) : System.Drawing
thumbnailSizeInPixels int
return System.Drawing