#include <reader_base.hpp>
| Public Member Functions | |
| reader_base () | |
| reader_base (const ConversionPolicy &cc) | |
| template<typename Image > | |
| void | init_image (Image &img, const image_read_settings< FormatTag > &settings) | 
| template<typename View > | |
| void | init_view (const View &view, const image_read_settings< FormatTag > &) | 
| Protected Attributes | |
| ConversionPolicy | _cc_policy | 
Reader Base Class
It provides some basic functionality which is shared for all readers. For instance, it recreates images when necessary. It checks whether user supplied coordinates are valid.
| FormatTag | A format tag, like jpeg_tag. | 
| ConversionPolicy | Conversion policy, see coversion_policies.hpp. | 
| 
 | inline | 
Default Constructor
| 
 | inline | 
Constructor
| 
 | inline | 
Initializes an image. But also does some check ups.
| Image | Image which implements boost::gil's ImageConcept. | 
| img | The image. | 
| info | The image read info. |