C# 클래스 Decchi.Utilities.ImageResize

파일 보기 프로젝트 열기: Usagination/Decchi

공개 메소드들

메소드 설명
LoadImageResized ( Stream orig, int targetSize = 3145728 ) : Stream

비공개 메소드들

메소드 설명
GetSizeFromPixels ( int pixels, int oriW, int oriH, int &newW, int &newH ) : void
IsImageTransparent ( Image image ) : bool
ResizeBySize ( Image image, Stream stream, System.Drawing.Imaging.ImageCodecInfo codec, System.Drawing.Imaging.EncoderParameters param, int w, int h ) : void
ResizeJpg ( Image image, Stream stream, System.Drawing.Imaging.ImageCodecInfo codec, System.Drawing.Imaging.EncoderParameters param, int targetSize ) : void
ResizePng ( Image image, Stream stream, System.Drawing.Imaging.ImageCodecInfo codec, System.Drawing.Imaging.EncoderParameters param, int targetSize ) : void

메소드 상세

LoadImageResized() 공개 정적인 메소드

public static LoadImageResized ( Stream orig, int targetSize = 3145728 ) : Stream
orig Stream
targetSize int
리턴 Stream