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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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