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

###  | #  |

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

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