boost::gil::read_view

Reads an image view without conversion. No memory is allocated.

Synopsis

template<
    typename Reader,
    typename View>
void
read_view(
    Reader reader,
    View const& view)
requires mp11::mp_and
        <
            detail::is_reader<Reader>,
            typename is_format_tag<typename Reader::format_tag_t>::type,
            typename is_read_supported
            <
                typename get_pixel_type<View>::type,
                typename Reader::format_tag_t
            >::type
        >::value;

Parameters

Name

Description

reader

An image reader.

view

The image view in which the data is read into.

settings

Specifies read settings depending on the image format.

Created with MrDocs