C# 클래스 FluxJpeg.Core.Encoder.JpegEncoder

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
Encode ( ) : void
JpegEncoder ( DecodedJpeg decodedJpeg, int quality, Stream outStream ) : System

Encodes a JPEG, preserving the colorspace and metadata of the input JPEG.

JpegEncoder ( Image image, int quality, Stream outStream ) : System

비공개 메소드들

메소드 설명
CompressTo ( Stream outStream ) : void
WriteArray ( byte data ) : void
WriteHeaders ( ) : void
WriteMarker ( byte data ) : void

메소드 상세

Encode() 공개 메소드

public Encode ( ) : void
리턴 void

JpegEncoder() 공개 메소드

Encodes a JPEG, preserving the colorspace and metadata of the input JPEG.
public JpegEncoder ( DecodedJpeg decodedJpeg, int quality, Stream outStream ) : System
decodedJpeg FluxJpeg.Core.DecodedJpeg Decoded Jpeg to start with.
quality int Quality of the image from 0 to 100. (Compression from max to min.)
outStream Stream Stream where the result will be placed.
리턴 System

JpegEncoder() 공개 메소드

public JpegEncoder ( Image image, int quality, Stream outStream ) : System
image Image
quality int
outStream Stream
리턴 System