libpng++  v0.2.5-1
C++ library for PNG images
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
png::convert_color_space< rgb_pixel > Struct Template Reference

Converts image color space. More...

#include <convert_color_space.hpp>

Inheritance diagram for png::convert_color_space< rgb_pixel >:
Collaboration diagram for png::convert_color_space< rgb_pixel >:

Public Types

typedef
basic_alpha_pixel_traits
< component_type
alpha_traits
 
typedef traits::component_type component_type
 
typedef pixel_traits< rgb_pixeltraits
 

Public Member Functions

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 handle_16 (reader &io)
 
static void handle_alpha (reader &io, uint_32 filler)
 
static void handle_gray (reader &io)
 
static void handle_palette (reader &io)
 
static void handle_rgb (reader &io)
 

Detailed Description

template<>
struct png::convert_color_space< rgb_pixel >

Converts image color space.

A specialization for rgb_pixel type.

Member Typedef Documentation

typedef traits::component_type png::detail::convert_color_space_impl< rgb_pixel >::component_type
inherited

Member Function Documentation

static void png::detail::convert_color_space_impl< rgb_pixel >::expand_8_to_16 ( png_struct *  ,
png_row_info *  row_info,
byte row 
)
inlinestaticprotectedinherited
static void png::detail::convert_color_space_impl< rgb_pixel >::handle_16 ( reader io)
inlinestaticprotectedinherited

References png::detail::convert_color_space_impl< pixel >::expand_8_to_16(), and png::io_base::get_bit_depth().

Here is the call graph for this function:

static void png::detail::convert_color_space_impl< rgb_pixel >::handle_alpha ( reader io,
uint_32  filler 
)
inlinestaticprotectedinherited
static void png::detail::convert_color_space_impl< rgb_pixel >::handle_gray ( reader io)
inlinestaticprotectedinherited
static void png::detail::convert_color_space_impl< rgb_pixel >::handle_palette ( reader io)
inlinestaticprotectedinherited
static void png::detail::convert_color_space_impl< rgb_pixel >::handle_rgb ( reader io)
inlinestaticprotectedinherited

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