Méthode | Description | |
---|---|---|
LoadImage ( Stream stream, bool alpha = true ) : |
Loads a DDS image from a Stream, and returns a Bitmap object of the image.
|
|
LoadImage ( byte data, bool alpha = true ) : |
Loads a DDS image from a byte array, and returns a Bitmap object of the image.
|
|
LoadImage ( string file, bool alpha = true ) : |
Loads a DDS image from a file, and returns a Bitmap object of the image.
|
public static LoadImage ( Stream stream, bool alpha = true ) : |
||
stream | Stream | The stream to read the image data from. |
alpha | bool | Preserve the alpha channel or not. (default: true) |
Résultat |
public static LoadImage ( byte data, bool alpha = true ) : |
||
data | byte | The image data, as a byte array. |
alpha | bool | Preserve the alpha channel or not. (default: true) |
Résultat |
public static LoadImage ( string file, bool alpha = true ) : |
||
file | string | The image file. |
alpha | bool | Preserve the alpha channel or not. (default: true) |
Résultat |