C# 클래스 RightpointLabs.Pourcast.Infrastructure.Services.ImageHelper

파일 보기 프로젝트 열기: RightpointLabs/Pourcast

공개 메소드들

메소드 설명
GetBytes ( Action callback ) : byte[]

Get the bytes written to the stream passed to the callback

JPEGEncoder ( ) : System.Drawing.Imaging.ImageCodecInfo

Create an ImageCodecInfo for ImageFormat.Jpeg

Quality ( long value ) : System.Drawing.Imaging.EncoderParameters

Create an EncoderParameters with the given quality level

메소드 상세

GetBytes() 공개 정적인 메소드

Get the bytes written to the stream passed to the callback
public static GetBytes ( Action callback ) : byte[]
callback Action
리턴 byte[]

JPEGEncoder() 공개 정적인 메소드

Create an ImageCodecInfo for ImageFormat.Jpeg
public static JPEGEncoder ( ) : System.Drawing.Imaging.ImageCodecInfo
리턴 System.Drawing.Imaging.ImageCodecInfo

Quality() 공개 정적인 메소드

Create an EncoderParameters with the given quality level
public static Quality ( long value ) : System.Drawing.Imaging.EncoderParameters
value long
리턴 System.Drawing.Imaging.EncoderParameters