Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ImageLoader Class Reference

List of all members.

Detailed Description

An image loader.

Public Member Functions

 this ()
 Register the loader.

char[] name ()
 The type that this loads (for example, "PiNG").

char[] exts ()
 Semicolon-separated, wildcard-using extensions that match this type.

float match ()
 Get the amount this stream matches the loader, from 0 (not at all) to 1 (completely).

void load ()
 Load the stream that you've previously identified.

Static Public Member Functions

ImageLoader detect (char[] filename, Stream stream)
 Search through the registered loaders and return the best matching loader for this file or null if there is none.

Public Attributes

char[] filename
 Loaded by the file matcher.

Stream stream
 Loaded by the file matcher.

ImageFile image
 Image file being loaded.

Static Public Attributes

ImageLoader[] digCommonList
 Various type loaders.

The documentation for this class was generated from the following file:
Generated on Thu Sep 4 13:12:52 2003 for dig by doxygen 1.3.2