Home | All Classes | Grouped Classes | Index | Search

CL_ProviderFactory::save

Saves the given CL_PixelBuffer to the file given by 'filename'.

	void save(
		CL_PixelBuffer buffer, const std::string& filename, const std::string& type = "", CL_OutputSourceProvider* output_provider = 0);

Detailed description:

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

See also:

CL_OutputSource | CL_OutputSourceProvider | CL_PixelBuffer | CL_ProviderFactory



Questions or comments, write to the ClanLib mailing list.