C# 클래스 jQuery_File_Upload.MVC5.Helpers.ImageHandler

파일 보기 프로젝트 열기: TheKalin/jQuery-File-Upload.MVC5 1 사용 예제들

공개 메소드들

메소드 설명
GetThumbnailSize ( Image original ) : Size
LoadImage ( string path ) : Bitmap
Save ( Bitmap image, int maxWidth, int maxHeight, int quality, string filePath ) : void

Method to resize, convert and save the image.

비공개 메소드들

메소드 설명
GetEncoderInfo ( ImageFormat format ) : System.Drawing.Imaging.ImageCodecInfo

Method to get encoder infor for given image format.

메소드 상세

GetThumbnailSize() 공개 정적인 메소드

public static GetThumbnailSize ( Image original ) : Size
original Image
리턴 System.Drawing.Size

LoadImage() 공개 정적인 메소드

public static LoadImage ( string path ) : Bitmap
path string
리턴 System.Drawing.Bitmap

Save() 공개 메소드

Method to resize, convert and save the image.
public Save ( Bitmap image, int maxWidth, int maxHeight, int quality, string filePath ) : void
image System.Drawing.Bitmap Bitmap image.
maxWidth int resize width.
maxHeight int resize height.
quality int quality setting value.
filePath string file path.
리턴 void