[]
Initializes a new instance of the WicStream class from a file.
public static WicStream Create(ImagingFactory factory, string fileName, NativeFileAccess fileAccess)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
string | fileName | Name of the file. |
NativeFileAccess | fileAccess | The file access. |
Type | Description |
---|---|
WicStream |
public static WicStream Create(ImagingFactory factory, Stream stream)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
Stream | stream | The stream. |
Type | Description |
---|---|
WicStream |
Initializes a new instance of the WicStream class from an unmanaged memory through a DataStream.
public static WicStream Create(ImagingFactory factory, DataPointer dataStream)
Type | Name | Description |
---|---|---|
ImagingFactory | factory | The factory. |
DataPointer | dataStream | The unmanaged memory stream. |
Type | Description |
---|---|
WicStream |