C# Class Nexus.Client.Util.ExtendedImage

This class extends the information and functionality if an Image.
Ideally this class would extend Image, but all of Image's constructors are internal, making extension pointless.
Mostra file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
ExtendedImage ( byte p_bteImage ) : System.Drawing

Creates an image from the given byte array.

GetExtension ( ) : string

Returns the file extension commonly associated with the image's format.

Method Details

ExtendedImage() public method

Creates an image from the given byte array.
public ExtendedImage ( byte p_bteImage ) : System.Drawing
p_bteImage byte A byte array representing an image.
return System.Drawing

GetExtension() public method

Returns the file extension commonly associated with the image's format.
Thrown if the 's /// is not recognized.
public GetExtension ( ) : string
return string