JpgSaver Class Reference

#include <private_filterjpg.h>

Inheritance diagram for JpgSaver:

Public Member Functions

virtual IMAGERESULT Save (const Filename &name, BaseBitmap *bm, BaseContainer *data, SAVEBIT savebits)
 
virtual Int32 GetMaxResolution (Bool layers)
 
- Public Member Functions inherited from BitmapSaverData
virtual ~BitmapSaverData ()
 

Member Function Documentation

◆ Save()

virtual IMAGERESULT Save ( const Filename name,
BaseBitmap bm,
BaseContainer data,
SAVEBIT  savebits 
)
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

Implements BitmapSaverData.

◆ GetMaxResolution()

virtual Int32 GetMaxResolution ( Bool  layers)
virtual