boost::gil::read_image_info
Returns the image format backend. Backend is format specific.
Synopses
Returns the image format backend. Backend is format specific.
template<
typename Device,
typename FormatTag>
get_reader_backend<Device, FormatTag>::type
read_image_info(
Device& file,
FormatTag const&)
requires mp11::mp_and
<
detail::is_adaptable_input_device<FormatTag, Device>,
is_format_tag<FormatTag>
>::value;
Returns the image format backend. Backend is format specific.
template<
typename Device,
typename FormatTag>
get_reader_backend<Device, FormatTag>::type
read_image_info(
Device& file,
image_read_settings<FormatTag> const& settings)
requires mp11::mp_and
<
detail::is_adaptable_input_device<FormatTag, Device>,
is_format_tag<FormatTag>
>::value;
Returns the image format backend. Backend is format specific.
template<
typename String,
typename FormatTag>
get_reader_backend<String, FormatTag>::type
read_image_info(
String const& file_name,
FormatTag const&)
requires mp11::mp_and
<
is_format_tag<FormatTag>,
detail::is_supported_path_spec<String>
>::value;
Returns the image format backend. Backend is format specific.
template<
typename String,
typename FormatTag>
get_reader_backend<String, FormatTag>::type
read_image_info(
String const& file_name,
image_read_settings<FormatTag> const& settings)
requires mp11::mp_and
<
is_format_tag<FormatTag>,
detail::is_supported_path_spec<String>
>::value;
Parameters
Name |
Description |
file |
It's a device. Must satisfy is_adaptable_input_device metafunction. |
settings |
Specifies read settings depending on the image format. |
file_name |
File name. Must satisfy is_supported_path_spec metafunction. |
Created with MrDocs