C# 클래스 BitMiracle.LibJpeg.Jpeg

Internal wrapper for classic jpeg compressor and decompressor
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
Compress ( IRawImage source, Stream output ) : void

Compresses any image described as ICompressSource to JPEG

Decompress ( Stream jpeg, IDecompressDestination destination ) : void

Decompresses JPEG image to any image described as ICompressDestination

SetMarkerProcessor ( int markerCode, MarkerParser routine ) : void

비공개 메소드들

메소드 설명
applyParameters ( CompressionParameters parameters ) : void
applyParameters ( DecompressionParameters parameters ) : void
beforeDecompress ( Stream jpeg ) : void

Tunes decompressor

getImageParametersFromDecompressor ( ) : LoadedImageAttributes

메소드 상세

Compress() 공개 메소드

Compresses any image described as ICompressSource to JPEG
public Compress ( IRawImage source, Stream output ) : void
source IRawImage Contains description of input image
output Stream Stream for output of compressed JPEG
리턴 void

Decompress() 공개 메소드

Decompresses JPEG image to any image described as ICompressDestination
public Decompress ( Stream jpeg, IDecompressDestination destination ) : void
jpeg Stream Stream with JPEG data
destination IDecompressDestination Stream for output of compressed JPEG
리턴 void

SetMarkerProcessor() 공개 메소드

public SetMarkerProcessor ( int markerCode, MarkerParser routine ) : void
markerCode int
routine MarkerParser
리턴 void