31 #ifndef PNGPP_STREAMING_BASE_HPP_INCLUDED 32 #define PNGPP_STREAMING_BASE_HPP_INCLUDED 89 template<
typename pixel,
class info_holder >
109 return m_info_holder.get_info();
120 return m_info_holder.get_info();
128 #endif // PNGPP_STREAMING_BASE_HPP_INCLUDED The default image_info holder class. Stores image_info member object.
Definition: streaming_base.hpp:45
info_holder m_info_holder
Definition: streaming_base.hpp:123
streaming_base(uint_32 width, uint_32 height)
Definition: streaming_base.hpp:100
image_info & get_info()
Definition: streaming_base.hpp:118
Pixel traits class template.
Definition: pixel_traits.hpp:48
image_info const & get_info() const
Definition: streaming_base.hpp:107
pixel_traits< pixel > traits
Definition: streaming_base.hpp:93
Holds information about PNG image.
Definition: image_info.hpp:47
void set_width(uint_32 width)
Definition: image_info.hpp:72
An image_info holder class. Stores a reference to the image_info object. The image_info object itself...
Definition: streaming_base.hpp:67
streaming_base(image_info &info)
Definition: streaming_base.hpp:95
png_uint_32 uint_32
Definition: types.hpp:41
A base class template for consumer and generator classes. Provides default reset() method implementat...
Definition: streaming_base.hpp:90
def_image_info_holder(image_info const &info)
Definition: streaming_base.hpp:48
image_info & get_info()
Definition: streaming_base.hpp:53
void set_height(uint_32 height)
Definition: image_info.hpp:82
void reset(size_t)
Definition: streaming_base.hpp:113
Holds information about PNG image. Adapter class for IO image operations.
Definition: info.hpp:45
image_info_ref_holder(image_info &info)
Definition: streaming_base.hpp:70
image_info make_image_info()
Returns an image_info object with color_type and bit_depth fields setup appropriate for the pixel typ...
Definition: image_info.hpp:204
image_info & get_info()
Definition: streaming_base.hpp:75