MemBuffer::save Method |
|||||||||||||||||
Writes the buffer to disk as a .BMP file. | |||||||||||||||||
Syntax: | Error save( const std::string& filename ) const; Error save( const std::wstring& filename ) const; Error save( const wchar_t* pFilename ) const; |
||||||||||||||||
|
|||||||||||||||||
Return value: | An Error object. |
||||||||||||||||
Remarks: | To set the image file color format and to write JPEG images, use the new saveToFileBMP and saveToFileJPEG functions. |
||||||||||||||||
See also: | MemBuffer, saveToFileBMP, saveToFileJPEG, MemBufferCollection::save |