C# 클래스 ImageTools.IO.Jpeg.JpegDecoder

Image decoder for generating an image out of an jpg stream.
상속: IImageDecoder
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
Decode ( ExtendedImage image, Stream stream ) : void

Decodes the image from the specified stream and sets the data to image.

IsSupportedFileExtension ( string extension ) : bool

Indicates if the image decoder supports the specified file extension.

IsSupportedFileFormat ( byte header ) : bool

Indicates if the image decoder supports the specified file header.

비공개 메소드들

메소드 설명
IsExif ( byte header ) : bool
IsJpeg ( byte header ) : bool

메소드 상세

Decode() 공개 메소드

Decodes the image from the specified stream and sets the data to image.
/// is null (Nothing in Visual Basic). /// - or - /// is null (Nothing in Visual Basic). ///
public Decode ( ExtendedImage image, Stream stream ) : void
image ExtendedImage The image, where the data should be set to. /// Cannot be null (Nothing in Visual Basic).
stream System.IO.Stream The stream, where the image should be /// decoded from. Cannot be null (Nothing in Visual Basic).
리턴 void

IsSupportedFileExtension() 공개 메소드

Indicates if the image decoder supports the specified file extension.
/// is null (Nothing in Visual Basic). is a string /// of length zero or contains only blanks.
public IsSupportedFileExtension ( string extension ) : bool
extension string The file extension.
리턴 bool

IsSupportedFileFormat() 공개 메소드

Indicates if the image decoder supports the specified file header.
/// is null (Nothing in Visual Basic).
public IsSupportedFileFormat ( byte header ) : bool
header byte The file header.
리턴 bool