boost::gil::read_image_info

Returns the image format backend. Backend is format specific.

Synopsis

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;

Return Value

image_read_info object dependent on the image format.

Parameters

Name

Description

file_name

File name. Must satisfy is_supported_path_spec metafunction.

settings

Specifies read settings depending on the image format.

Created with MrDocs