Provider type. More...
#include <image_file_type.h>
Inheritance diagram for uicore::ImageFileType:Public Member Functions | |
| ImageFileType (const std::string &type) | |
| Registers a provider type in the ImageFile. More... | |
| virtual | ~ImageFileType () |
| Unregisters a provider type in the ImageFile. More... | |
| virtual PixelBufferPtr | load (const std::string &filename, bool srgb)=0 |
| Called to load an image with this provider type. More... | |
| virtual PixelBufferPtr | load (const IODevicePtr &file, bool srgb)=0 |
| virtual void | save (PixelBufferPtr buffer, const std::string &filename)=0 |
| Called to save a given PixelBuffer to a file. More... | |
| virtual void | save (PixelBufferPtr buffer, const IODevicePtr &file)=0 |
Provider type.
| uicore::ImageFileType::ImageFileType | ( | const std::string & | type | ) |
Registers a provider type in the ImageFile.
|
virtual |
Unregisters a provider type in the ImageFile.
|
pure virtual |
Called to load an image with this provider type.
Implemented in uicore::ImageFileType_Register< ProviderClass >.
|
pure virtual |
Implemented in uicore::ImageFileType_Register< ProviderClass >.
|
pure virtual |
Called to save a given PixelBuffer to a file.
Implemented in uicore::ImageFileType_Register< ProviderClass >.
|
pure virtual |
Implemented in uicore::ImageFileType_Register< ProviderClass >.