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 |
References png::basic_alpha_pixel_traits< component >::get_alpha_filler(), png::detail::convert_color_space_impl< pixel >::handle_16(), png::detail::convert_color_space_impl< pixel >::handle_alpha(), png::detail::convert_color_space_impl< pixel >::handle_gray(), png::detail::convert_color_space_impl< pixel >::handle_palette(), png::detail::convert_color_space_impl< pixel >::handle_rgb(), png::io_base::set_bit_depth(), and png::io_base::set_color_type().
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
References png::chunk_tRNS, png::color_mask_alpha, png::filler_after, png::io_base::get_color_type(), png::io_base::has_chunk(), png::io_base::set_add_alpha(), png::io_base::set_strip_alpha(), and png::io_base::set_tRNS_to_alpha().
Referenced by png::detail::convert_color_space_impl< pixel >::operator()().
|
inlinestaticprotected |
References png::color_type_palette, png::image_info::drop_palette(), png::io_base::get_bit_depth(), png::io_base::get_color_type(), png::io_base::get_info(), png::io_base::set_packing(), and png::io_base::set_palette_to_rgb().
Referenced by png::detail::convert_color_space_impl< pixel >::operator()().
|
inlinestaticprotected |
|
inlinestaticprotected |