boost::gil::read_image_info

Returns the image format backend. Backend is format specific.

Synopsis

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;

Description

The unnamed FormatTag argument defines the image format and must satisfy the is_format_tag metafunction.

Return Value

image_read_info object dependent on the image format.

Parameters

Name

Description

file

It's a device. Must satisfy is_adaptable_input_device metafunction.

Created with MrDocs