Manages all current image formats.
Static Public Member Functions | |
static void | Setup () |
Sets up all available image formats. Called internally by UI.Setup. More... | |
static void | Add (ImageFormat format) |
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 | Get (string type) |
Gets a format by the given file type. 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.
format | The new format to add. |
|
inlinestatic |
Gets a format by the given file type.
type | The name of the format, e.g. "png". |
|
inlinestatic |
Sets up all available image formats. Called internally by UI.Setup.
|
static |
The set of available formats. Use get to access.
|
static |
The "picture" format (jpeg, png etc) is the default handler.