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