Home | All Classes | Grouped Classes | Index | Search

CL_JPEGProvider::CL_JPEGProvider

Constructs a surface provider that can read JPEG files.

	CL_JPEGProvider(
		const std::string& name, CL_InputSourceProvider* provider = 0, bool transparent = true, bool ignore_alphachannel = false);

Parameters:

name
Name of the JPEG file to load.
provider
Input source provider that delivers the JPEG file.
transparent
True if a transparency color should be used.
ignore_alphachannel
True if the alpha component should be ignored.

See also:

CL_JPEGProvider



Questions or comments, write to the ClanLib mailing list.