boost::gil::read_image
Reads an image without conversion. Image memory is allocated.
Synopsis
Declared in <boost/gil/io/read_image.hpp>
template<
typename Reader,
typename Image>
void
read_image(
Reader reader,
Image& img)
requires mp11::mp_and
<
detail::is_reader<Reader>,
is_format_tag<typename Reader::format_tag_t>,
is_read_supported
<
typename get_pixel_type<typename Image::view_t>::type,
typename Reader::format_tag_t
>
>::value;
Parameters
Name |
Description |
reader |
An image reader. |
img |
The image in which the data is read into. Must satisfy is_read_supported metafunction. |
Created with MrDocs