C# 클래스 PicasaUploader.ImageScaler

파일 보기 프로젝트 열기: ivanz/PicasaUploader

공개 메소드들

메소드 설명
ScaleDown ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image
ScaleDown ( Stream imageStream, int newWidth, int newHeight, bool preserveAspect ) : Stream
ScaleToThumbnail ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image

비공개 메소드들

메소드 설명
CopyExif ( Image oldImage, Image newImage ) : void

Copies the EXIF data into the new image and adjusts the Width and Height accordingly.

ScaleCore ( Image image, int newWidth, int newHeight, bool preserveAspect, InterpolationMode quality ) : Image

메소드 상세

ScaleDown() 공개 정적인 메소드

public static ScaleDown ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image
image Image
newWidth int
newHeight int
preserveAspect bool
리턴 Image

ScaleDown() 공개 정적인 메소드

public static ScaleDown ( Stream imageStream, int newWidth, int newHeight, bool preserveAspect ) : Stream
imageStream Stream
newWidth int
newHeight int
preserveAspect bool
리턴 Stream

ScaleToThumbnail() 공개 정적인 메소드

public static ScaleToThumbnail ( Image image, int newWidth, int newHeight, bool preserveAspect ) : Image
image Image
newWidth int
newHeight int
preserveAspect bool
리턴 Image