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.

view

The image view in which the data is read into.

Created with MrDocs