31 #ifndef PNGPP_PACKED_PIXEL_HPP_INCLUDED 32 #define PNGPP_PACKED_PIXEL_HPP_INCLUDED 59 : m_value(value & get_bit_mask())
75 return (1 << bits) - 1;
84 #endif // PNGPP_PACKED_PIXEL_HPP_INCLUDED
The packed pixel class template.
Definition: packed_pixel.hpp:54
png_byte byte
Definition: types.hpp:39
static int get_bit_depth()
Definition: packed_pixel.hpp:68
Definition: packed_pixel.hpp:41
static byte get_bit_mask()
Definition: packed_pixel.hpp:73
packed_pixel(byte value=0)
Definition: packed_pixel.hpp:58