Manages all current image formats.
Static Public Member Functions | |
static void | Add (Type formatType) |
Adds the given image format to the global set for use. Note that you do not need to call this manually; Just deriving from ImageFormat is all that is required. More... | |
static ImageFormat | GetInstance (string type) |
Gets an instance of a format by the given file type. More... | |
static ImageFormat | Get (string type) |
Gets a format by the given file type. Note: These are global! More... | |
Static Public Attributes | |
static string | UnrecognisedImageHandler ="pict" |
The "picture" format (jpeg, png etc) is the default handler. More... | |
static Dictionary< string, ImageFormat > | Formats |
The set of available formats. Use get to access. More... | |
|
inlinestatic |
Adds the given image format to the global set for use. Note that you do not need to call this manually; Just deriving from ImageFormat is all that is required.
formatType | The type for the format to add. |
|
inlinestatic |
Gets a format by the given file type. Note: These are global!
type | The name of the format, e.g. "png". |
|
inlinestatic |
Gets an instance of a format by the given file type.
type | The name of the format, e.g. "png". |
|
static |
The set of available formats. Use get to access.
|
static |
The "picture" format (jpeg, png etc) is the default handler.