[]
Loads the image from a System.IO.Stream.
public void Load(Stream stream, params BaseTransform[] transforms)
Type | Name | Description |
---|---|---|
Stream | stream | The input stream. |
BaseTransform[] | transforms | The transformation chain for the image that is being loaded. |
Loads the image from a System.IO.Stream.
public void Load(Stream stream, ContainerFormat containerFormat, ImageRect? imageRect, params BaseTransform[] transforms)
Type | Name | Description |
---|---|---|
Stream | stream | The input stream. |
ContainerFormat | containerFormat | The image container format; use Unknown to detect the format automatically. |
ImageRect? | imageRect | Clipping rectangle for the image after all transformations. |
BaseTransform[] | transforms | The transformation chain for the image that is being loaded. |
Loads the image from a file.
public void Load(string fileName, params BaseTransform[] transforms)
Type | Name | Description |
---|---|---|
string | fileName | The input file name. |
BaseTransform[] | transforms | The transformation chain for the image that is being loaded. |
Loads the image from a file.
public void Load(string fileName, ContainerFormat containerFormat, ImageRect? imageRect, params BaseTransform[] transforms)
Type | Name | Description |
---|---|---|
string | fileName | The input file name. |
ContainerFormat | containerFormat | The image container format; use Unknown to detect the format automatically. |
ImageRect? | imageRect | Clipping rectangle for the image after all transformations. |
BaseTransform[] | transforms | The transformation chain for the image that is being loaded. |