C# 클래스 Imazen.WebP.SimpleEncoder

Encodes Bitmap objects into WebP format
파일 보기 프로젝트 열기: imazen/libwebp-net 1 사용 예제들

공개 메소드들

메소드 설명
Encode ( Bitmap from, Stream to, float quality ) : void

Encodes the given RGB(A) bitmap to the given stream. Specify quality = -1 for lossless, otherwise specify a value between 0 and 100.

Encode ( Bitmap b, float quality, IntPtr &result, long &length ) : void

Encodes the given RGB(A) bitmap to the given stream. Specify quality = -1 for lossless, otherwise specify a value between 0 and 100.

GetEncoderVersion ( ) : string
SimpleEncoder ( ) : System

비공개 메소드들

메소드 설명
Encode ( Bitmap from, Stream to, float quality, bool noAlpha ) : void
Encode ( Bitmap b, float quality, bool noAlpha, IntPtr &result, long &length ) : void

메소드 상세

Encode() 공개 메소드

Encodes the given RGB(A) bitmap to the given stream. Specify quality = -1 for lossless, otherwise specify a value between 0 and 100.
public Encode ( Bitmap from, Stream to, float quality ) : void
from System.Drawing.Bitmap
to Stream
quality float
리턴 void

Encode() 공개 메소드

Encodes the given RGB(A) bitmap to the given stream. Specify quality = -1 for lossless, otherwise specify a value between 0 and 100.
public Encode ( Bitmap b, float quality, IntPtr &result, long &length ) : void
b System.Drawing.Bitmap
quality float
result System.IntPtr
length long
리턴 void

GetEncoderVersion() 공개 정적인 메소드

public static GetEncoderVersion ( ) : string
리턴 string

SimpleEncoder() 공개 메소드

public SimpleEncoder ( ) : System
리턴 System