[]
Initializes a new instance of the BitmapDecoder class from a BitmapDecoderInfo.
public static BitmapDecoder Create(BitmapDecoderInfo bitmapDecoderInfo)
Type | Name | Description |
---|---|---|
BitmapDecoderInfo | bitmapDecoderInfo | The bitmap decoder info. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a guid. BitmapDecoderGuids for a list of default supported decoder.
public static BitmapDecoder Create(ImagingFactory factory, Guid containerFormatGuid)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
Guid | containerFormatGuid | The container format GUID. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class.
public static BitmapDecoder Create(ImagingFactory factory, Guid containerFormatGuid, Guid guidVendorRef)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
Guid | containerFormatGuid | The container format GUID. |
Guid | guidVendorRef | The GUID vendor ref. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a IStream.
public static BitmapDecoder Create(ImagingFactory factory, IStream streamRef, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
IStream | streamRef | The stream ref. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a IStream.
public static BitmapDecoder Create(ImagingFactory factory, Stream streamRef, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
Stream | streamRef | The stream ref. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a IStream.
public static BitmapDecoder Create(ImagingFactory factory, IStream streamRef, Guid guidVendorRef, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
IStream | streamRef | The stream ref. |
Guid | guidVendorRef | The GUID vendor ref. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a IStream.
public static BitmapDecoder Create(ImagingFactory factory, Stream streamRef, Guid guidVendorRef, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
Stream | streamRef | The stream ref. |
Guid | guidVendorRef | The GUID vendor ref. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a file in read mode.
public static BitmapDecoder Create(ImagingFactory factory, string filename, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
string | filename | The filename. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a file.
public static BitmapDecoder Create(ImagingFactory factory, string filename, NativeFileAccess desiredAccess, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
string | filename | The filename. |
NativeFileAccess | desiredAccess | The desired access. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a file.
public static BitmapDecoder Create(ImagingFactory factory, string filename, Guid? guidVendorRef, NativeFileAccess desiredAccess, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
string | filename | The filename. |
Guid? | guidVendorRef | The GUID vendor ref. |
NativeFileAccess | desiredAccess | The desired access. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a filestream.
public static BitmapDecoder Create(ImagingFactory factory, FileStream fileStream, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
FileStream | fileStream | The filename. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |
Initializes a new instance of the BitmapDecoder class from a filestream.
public static BitmapDecoder Create(ImagingFactory factory, FileStream fileStream, Guid guidVendorRef, DecodeOptions metadataOptions)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
FileStream | fileStream | The filename. |
Guid | guidVendorRef | The GUID vendor ref. |
DecodeOptions | metadataOptions | The metadata options. |
Type | Description |
---|---|
BitmapDecoder |