BitmapSaverData Class Referenceabstract

#include <c4d_filterdata.h>

Inheritance diagram for BitmapSaverData:

Public Member Functions

virtual ~BitmapSaverData ()
 
virtual IMAGERESULT Save (const Filename &name, BaseBitmap *bm, BaseContainer *data, SAVEBIT savebits)=0
 

Detailed Description

A data class for bitmap savers plugins.

Constructor & Destructor Documentation

◆ ~BitmapSaverData()

virtual ~BitmapSaverData ( )
virtual

Default destructor.

Member Function Documentation

◆ Save()

virtual IMAGERESULT Save ( const Filename name,
BaseBitmap bm,
BaseContainer data,
SAVEBIT  savebits 
)
pure virtual

Saves a bitmap to a file.

Parameters
[in]nameThe name of the file to save.
[in]bmThe bitmap to save the image from. The caller owns the pointed bitmap.
[in]dataThe settings for the bitmap saver plugin. These settings are stored with the general preferences. The caller owns the pointed container.
[in]savebitsThe flags for saving the bitmap: SAVEBIT
Returns
The result of saving the file: IMAGERESULT

Implemented in BmpSaver, and JpgSaver.