boost::gil::read_and_convert_image
Reads and color‐converts an image. Image memory is allocated. Default color converter is used.
Synopsis
template<
typename Device,
typename Image,
typename FormatTag>
void
read_and_convert_image(
Device& device,
Image& img,
FormatTag const& tag)
requires mp11::mp_and
<
detail::is_read_device<FormatTag, Device>,
is_format_tag<FormatTag>
>::value;
Parameters
Name |
Description |
device |
It's a device. Must satisfy is_input_device metafunction or is_adaptable_input_device. |
img |
The image in which the data is read into. |
tag |
Defines the image format. Must satisfy is_format_tag metafunction. |
Created with MrDocs