boost::gil::read_and_convert_view
Reads and color‐converts an image view. No memory is allocated.
Synopsis
template<
typename Reader,
typename View>
void
read_and_convert_view(
Reader& reader,
View const& view)
requires mp11::mp_and
<
detail::is_reader<Reader>,
is_format_tag<typename Reader::format_tag_t>
>::value;
Parameters
Name |
Description |
reader |
An image reader. |
img |
The image in which the data is read into. |
settings |
Specifies read settings depending on the image format. |
cc |
Color converter function object. |
Created with MrDocs