C# 클래스 CharLS.JpegLSBitmapDecoder

Provides a method to create a BitmapSource from a JPEG-LS encoded bitmap stream. The .NET Imaging namespace provides a set of build-in BitmapDecoders. This set of classes is however not extensible and by design the base class BitmapDecoder is not derivable by external classes. This static class can be used in the same pattern, but is only provides the primary functionality to convert a stream into a BitmapSource.
파일 보기 프로젝트 열기: team-charls/charls

공개 메소드들

메소드 설명
JpegLSBitmapDecoder ( Stream bitmapStream ) : System

Initializes a new instance of the JpegLSBitmapDecoder class.

비공개 메소드들

메소드 설명
GetPixelFormat ( JpegLSMetadataInfo info ) : System.Windows.Media.PixelFormat

메소드 상세

JpegLSBitmapDecoder() 공개 메소드

Initializes a new instance of the JpegLSBitmapDecoder class.
The bitmap stream is not a JPEG-LS encoded image. The native DLL required to decode the JPEG-LS bit stream could not be loaded.
public JpegLSBitmapDecoder ( Stream bitmapStream ) : System
bitmapStream Stream The bitmap stream to decode.
리턴 System