C# 클래스 SEToolbox.ImageLibrary.ImageHelper

파일 보기 프로젝트 열기: midspace/SEToolbox

공개 메소드들

메소드 설명
ConvertBitmapToBitmapImage ( Bitmap bitmap ) : BitmapImage
ResizeImage ( Image image, Size size ) : Bitmap

Resize the image to the specified width and height.

SavePng ( string path, Image image ) : void

메소드 상세

ConvertBitmapToBitmapImage() 공개 정적인 메소드

public static ConvertBitmapToBitmapImage ( Bitmap bitmap ) : BitmapImage
bitmap System.Drawing.Bitmap
리턴 System.Windows.Media.Imaging.BitmapImage

ResizeImage() 공개 정적인 메소드

Resize the image to the specified width and height.
public static ResizeImage ( Image image, Size size ) : Bitmap
image System.Drawing.Image The image to resize.
size System.Drawing.Size The width and height to resize to.
리턴 System.Drawing.Bitmap

SavePng() 공개 정적인 메소드

public static SavePng ( string path, Image image ) : void
path string
image System.Drawing.Image
리턴 void