Go to the documentation of this file.
31 #ifndef PNGPP_STREAMING_BASE_HPP_INCLUDED
32 #define PNGPP_STREAMING_BASE_HPP_INCLUDED
89 template<
typename pixel,
class info_holder >
128 #endif // PNGPP_STREAMING_BASE_HPP_INCLUDED
An image_info holder class. Stores a reference to the image_info object. The image_info object itself...
Definition: streaming_base.hpp:68
Holds information about PNG image. Adapter class for IO image operations.
Definition: info.hpp:48
image_info & get_info()
Definition: streaming_base.hpp:53
def_image_info_holder(image_info const &info)
Definition: streaming_base.hpp:48
image_info & get_info()
Definition: streaming_base.hpp:75
Holds information about PNG image.
Definition: image_info.hpp:48
image_info_ref_holder(image_info &info)
Definition: streaming_base.hpp:70
A base class template for consumer and generator classes. Provides default reset() method implementat...
Definition: streaming_base.hpp:91
png_uint_32 uint_32
Definition: types.hpp:41
void reset(size_t)
Definition: streaming_base.hpp:113
void set_width(uint_32 width)
Definition: image_info.hpp:72
The default image_info holder class. Stores image_info member object.
Definition: streaming_base.hpp:46
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
void set_height(uint_32 height)
Definition: image_info.hpp:82
Pixel traits class template.
Definition: pixel_traits.hpp:48
streaming_base(image_info &info)
Definition: streaming_base.hpp:95
image_info const & get_info() const
Definition: streaming_base.hpp:107
image_info & get_info()
Definition: streaming_base.hpp:118
streaming_base(uint_32 width, uint_32 height)
Definition: streaming_base.hpp:100
pixel_traits< pixel > traits
Definition: streaming_base.hpp:93
info_holder m_info_holder
Definition: streaming_base.hpp:123