boost::gil::copy_and_convert_pixels

copy_and_convert_pixels overloads

Synopses

Declared in <boost/gil/algorithm.hpp>

Copies and color‐converts pixels from a statically‐typed image view into a run‐time typed view, using the default color converter.

template<
    typename View,
    typename... Types>
void
copy_and_convert_pixels(
    View const& src,
    any_image_view<Types...> const& dst);
template<
    typename View1,
    typename View2>
[[__always_inline__]]
void
copy_and_convert_pixels(
    View1 const& src,
    View2 const& dst);

Copies and color‐converts pixels from a run‐time typed image view into a statically‐typed view, using the default color converter.

template<
    typename... Types,
    typename View>
void
copy_and_convert_pixels(
    any_image_view<Types...> const& src,
    View const& dst);

Copies and color‐converts pixels between two run‐time typed image views, using the default color converter.

template<
    typename... Types1,
    typename... Types2>
void
copy_and_convert_pixels(
    any_image_view<Types1...> const& src,
    any_image_view<Types2...> const& dst);
template<
    typename V1,
    typename V2,
    typename CC>
[[__always_inline__]]
void
copy_and_convert_pixels(
    V1 const& src,
    V2 const& dst,
    CC cc);

Copies and color‐converts pixels from a statically‐typed image view into a run‐time typed view, using the given color converter.

template<
    typename View,
    typename... Types,
    typename CC>
void
copy_and_convert_pixels(
    View const& src,
    any_image_view<Types...> const& dst,
    CC cc);

Copies and color‐converts pixels from a run‐time typed image view into a statically‐typed view, using the given color converter.

template<
    typename... Types,
    typename View,
    typename CC>
void
copy_and_convert_pixels(
    any_image_view<Types...> const& src,
    View const& dst,
    CC cc);

Copies and color‐converts pixels between two run‐time typed image views, using the given color converter.

template<
    typename... Types1,
    typename... Types2,
    typename CC>
void
copy_and_convert_pixels(
    any_image_view<Types1...> const& src,
    any_image_view<Types2...> const& dst,
    CC cc);

Template Parameters

Name

Description

View

Model ImageViewConcept

Types

Model Boost.MP11‐compatible list of models of MutableImageViewConcept

Types1

Model Boost.MP11‐compatible list of models of ImageViewConcept

Types2

Model Boost.MP11‐compatible list of models of MutableImageViewConcept

CC

Model ColorConverterConcept

Created with MrDocs