png++ 0.2.9
|
IO transformation class template. Converts image color space. More...
#include <convert_color_space.hpp>
Public Types | |
typedef pixel_traits< pixel > | traits |
typedef traits::component_type | component_type |
typedef basic_alpha_pixel_traits< component_type > | alpha_traits |
Public Member Functions | |
template<class reader> | |
void | operator() (reader &io) const |
Static Protected Member Functions | |
static void | expand_8_to_16 (png_struct *, png_row_info *row_info, byte *row) |
static void | dump_row (byte const *row, uint_32 width) |
template<class reader> | |
static void | handle_16 (reader &io) |
template<class reader> | |
static void | handle_alpha (reader &io, uint_32 filler) |
template<class reader> | |
static void | handle_palette (reader &io) |
template<class reader> | |
static void | handle_rgb (reader &io) |
template<class reader> | |
static void | handle_gray (reader &io) |
IO transformation class template. Converts image color space.
typedef pixel_traits< pixel > png::detail::convert_color_space_impl< pixel >::traits |
typedef traits::component_type png::detail::convert_color_space_impl< pixel >::component_type |
typedef basic_alpha_pixel_traits< component_type > png::detail::convert_color_space_impl< pixel >::alpha_traits |
|
inline |
|
inlinestaticprotected |
References dump_row().
Referenced by handle_16().
|
inlinestaticprotected |
Referenced by expand_8_to_16().
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
References png::color_mask_palette, png::color_mask_rgb, png::io_base::get_color_type(), png::io_base::set_gray_to_rgb(), and png::io_base::set_rgb_to_gray().
Referenced by operator()().
|
inlinestaticprotected |
References png::color_mask_alpha, png::color_type_gray, png::io_base::get_bit_depth(), png::io_base::get_color_type(), and png::io_base::set_gray_1_2_4_to_8().
Referenced by operator()().