MemBufferCollection::save Method

Saves all buffers of this collection to disk as a .BMP file.
Syntax:
bool save( const std::string& filename ) const;
bool save( const std::wstring& filename ) const;

Parameter Description
filename

Specifies the basename of the files to which the buffers are going to be written. The filename must contain one "*" which will be replaced by the indexes of the frames.

Return value:

true, if the buffers could be saved successfully, false otherwise.

Remarks:

This method saves buffers into a file using the windows "bmp" format. If a file of the given name already exists, it will be overwritten by this method.

The filename must contain one "*" which will be replaced by the index of the according buffer.

See also: MemBufferCollection, MemBuffer::save

<< MemBufferCollection