C# 클래스 ImageProcessor.Imaging.Resizer

Provides methods to resize images.
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor 1 사용 예제들

공개 메소드들

메소드 설명
ResizeImage ( Image source, bool linear ) : Bitmap

Resizes the given image.

Resizer ( ResizeLayer resizeLayer ) : System

Initializes a new instance of the Resizer class.

Resizer ( Size size ) : System

Initializes a new instance of the Resizer class.

보호된 메소드들

메소드 설명
ResizeComposite ( Image source, int width, int height, Rectangle destination ) : Bitmap

Gets an image resized using the composite color space without any gamma correction adjustments.

ResizeLinear ( Image source, int width, int height, Rectangle destination ) : Bitmap

Gets an image resized using the linear color space with gamma correction adjustments.

ResizeLinear ( Image source, int width, int height, Rectangle destination, AnimationProcessMode animationProcessMode ) : Bitmap

Gets an image resized using the linear color space with gamma correction adjustments.

비공개 메소드들

메소드 설명
ResizeImage ( Image source, int width, int height, int maxWidth, int maxHeight, List restrictedSizes, ResizeMode resizeMode = ResizeMode.Pad, AnchorPosition anchorPosition = AnchorPosition.Center, bool upscale = true, float centerCoordinates = null, bool linear = false ) : Bitmap

Resizes the given image.

메소드 상세

ResizeComposite() 보호된 메소드

Gets an image resized using the composite color space without any gamma correction adjustments.
protected ResizeComposite ( Image source, int width, int height, Rectangle destination ) : Bitmap
source Image The source image.
width int The width to resize to.
height int The height to resize to.
destination System.Drawing.Rectangle The destination rectangle.
리턴 System.Drawing.Bitmap

ResizeImage() 공개 메소드

Resizes the given image.
public ResizeImage ( Image source, bool linear ) : Bitmap
source Image The source to resize.
linear bool Whether to resize the image using the linear color space.
리턴 System.Drawing.Bitmap

ResizeLinear() 보호된 메소드

Gets an image resized using the linear color space with gamma correction adjustments.
protected ResizeLinear ( Image source, int width, int height, Rectangle destination ) : Bitmap
source Image The source image.
width int The width to resize to.
height int The height to resize to.
destination System.Drawing.Rectangle The destination rectangle.
리턴 System.Drawing.Bitmap

ResizeLinear() 보호된 메소드

Gets an image resized using the linear color space with gamma correction adjustments.
protected ResizeLinear ( Image source, int width, int height, Rectangle destination, AnimationProcessMode animationProcessMode ) : Bitmap
source Image The source image.
width int The width to resize to.
height int The height to resize to.
destination System.Drawing.Rectangle The destination rectangle.
animationProcessMode AnimationProcessMode The process mode for frames in animated images.
리턴 System.Drawing.Bitmap

Resizer() 공개 메소드

Initializes a new instance of the Resizer class.
public Resizer ( ResizeLayer resizeLayer ) : System
resizeLayer ResizeLayer /// The . ///
리턴 System

Resizer() 공개 메소드

Initializes a new instance of the Resizer class.
public Resizer ( Size size ) : System
size System.Drawing.Size /// The to resize the image to. ///
리턴 System