Generic Image Library: default_color_converter_impl< rgba_t, C2 > Struct Template Reference

###  | #  |

Public Member Functions | List of all members
default_color_converter_impl< rgba_t, C2 > Struct Template Reference
Color Space Conversion

Converting RGBA to any pixel type. Note: Supports homogeneous pixels only. More...

`#include <color_convert.hpp>`

## Public Member Functions
template<typename P1, typename P2>
void | operator() (const P1 &src, P2 &dst) const

## Detailed Description

template<typename C2>
struct boost::gil::default_color_converter_impl< rgba_t, C2 >

Converting RGBA to any pixel type. Note: Supports homogeneous pixels only.

Done by multiplying the alpha to get to RGB, then converting the RGB to the target pixel type Note: This may be slower if the compiler doesn't optimize out constructing/destructing a temporary RGB pixel. Consider rewriting if performance is an issue

The documentation for this struct was generated from the following file:

- color_convert.hpp