C# 클래스 ImageProcessor.Plugins.WebP.Imaging.Formats.WebPFormat

상속: ImageProcessor.Imaging.Formats.FormatBase
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor

공개 메소드들

메소드 설명
ApplyProcessor ( Image>.Func processor, ImageFactory factory ) : void

Applies the given processor the current image.

Load ( Stream stream ) : Image

Decodes the image to process.

Save ( Stream stream, Image image, long bitDepth ) : Image

Saves the current image to the specified output stream.

Save ( string path, Image image, long bitDepth ) : Image

Saves the current image to the specified file path.

비공개 메소드들

메소드 설명
Decode ( byte webpData ) : Bitmap

Decodes a WebP image

EncodeLosslessly ( Bitmap bitmap, byte &webpData ) : bool

Losslessly encodes the image in bitmap.

EncodeLossly ( Bitmap bitmap, int quality, byte &webpData ) : bool

Lossy encodes the image in bitmap.

메소드 상세

ApplyProcessor() 공개 메소드

Applies the given processor the current image.
public ApplyProcessor ( Image>.Func processor, ImageFactory factory ) : void
processor Image>.Func The processor delegate.
factory ImageFactory The .
리턴 void

Load() 공개 메소드

Decodes the image to process.
public Load ( Stream stream ) : Image
stream Stream /// The containing the image information. ///
리턴 Image

Save() 공개 메소드

Saves the current image to the specified output stream.
public Save ( Stream stream, Image image, long bitDepth ) : Image
stream Stream /// The to save the image information to. ///
image Image /// The to save. ///
bitDepth long /// The color depth in number of bits per pixel to save the image with. ///
리턴 Image

Save() 공개 메소드

Saves the current image to the specified file path.
public Save ( string path, Image image, long bitDepth ) : Image
path string The path to save the image to.
image Image /// The to save. ///
bitDepth long /// The color depth in number of bits per pixel to save the image with. ///
리턴 Image