boost::gil::read_view
Reads an image view without conversion. No memory is allocated.
Synopsis
Declared in <boost/gil/io/read_view.hpp>
template<
typename Device,
typename View,
typename FormatTag>
void
read_view(
Device& file,
View const& view,
FormatTag const& tag)
requires mp11::mp_and
<
typename is_format_tag<FormatTag>::type,
detail::is_read_device<FormatTag, Device>,
typename is_read_supported
<
typename get_pixel_type<View>::type,
FormatTag
>::type
>::value;
Parameters
Name |
Description |
file |
It's a device. Must satisfy is_input_device metafunction or is_adaptable_input_device. |
view |
The image view in which the data is read into. |
tag |
Defines the image format. Must satisfy is_format_tag metafunction. |
Created with MrDocs