void operator>>(const LexicalConverter &, PixelFormat &);
PixelComponents components_from_graphics(Graphics::PixelFormat);
void operator>>(const LexicalConverter &, PixelFormat &);
PixelComponents components_from_graphics(Graphics::PixelFormat);
PixelFormat make_pixelformat(PixelComponents, DataType, bool = false);
inline PixelComponents get_components(PixelFormat f) { return static_cast<PixelComponents>(f&0xFF); }
PixelFormat make_pixelformat(PixelComponents, DataType, bool = false);
inline PixelComponents get_components(PixelFormat f) { return static_cast<PixelComponents>(f&0xFF); }