21#ifndef mia_2d_rgbimageio_hh
22#define mia_2d_rgbimageio_hh
48 typedef std::shared_ptr<CRGB2DImage>
Pointer;
66 const unsigned char *
pixel()
const;
77 mia::C2DBounds m_size;
78 std::vector<unsigned char> m_pixels;
std::shared_ptr< CRGB2DImage > Pointer
unifying pointer definition for this class.
const mia::C2DBounds & get_size() const
CRGB2DImage * clone() const
const unsigned char * pixel() const
CRGB2DImage type
data type for the plug-in handler magic
static const char * data_descr
data type description used by the plug-in handler to locate the plug-ins
CRGB2DImage(const mia::C2DBounds &size)
The templatex basis class of all IO plug-ins.
The generic base for all plug-ins.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define NS_MIA_END
conveniance define to end the mia namespace
mia::THandlerSingleton< mia::TIOPluginHandler< C2DRGBImageIOPlugin > > C2DRGBImageIOPluginPluginHandler
The 2D RGB image plugin handler.
C2DRGBImageIOPluginPluginHandler::Instance::DataKey C2DRGBImageDataKey
The data key type for the CDatapool storage.
bool EXPORT_2D save_image(const std::string &filename, const CRGB2DImage &image)
CRGB2DImage::Pointer PRGB2DImage
The shared pointer type of the image.
TIOPlugin< CRGB2DImage > C2DRGBImageIOPlugin
Base type for 2D RGB image IO plugins.