Home | All Classes | Grouped Classes | Index | Search

CL_ProviderFactory::load

Loads an image file from 'filename', using the provider identified by 'type'.

	CL_PixelBuffer load(
		const std::string& filename, const std::string& type = "", CL_InputSourceProvider* input_provider = 0);

Detailed description:

If the type is an empty string, it uses the extension of the filename to determine what type it is.

The input provider will be used as a the source for filename, if specified.

See also:

CL_InputSource | CL_InputSourceProvider | CL_PixelBuffer | CL_ProviderFactory



Questions or comments, write to the ClanLib mailing list.