boost::gil::copy_pixels

copy_pixels overloads

Synopses

Declared in <boost/gil/algorithm.hpp>

Copies pixels from a statically‐typed image view into a run‐time typed view.

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

std::copy for image views

template<
    typename View1,
    typename View2>
[[__always_inline__]]
void
copy_pixels(
    View1 const& src,
    View2 const& dst);

Copies pixels from a run‐time typed image view into a statically‐typed view.

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

Copies pixels between two run‐time typed image views.

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

Template Parameters

Name

Description

Types

Model Boost.MP11‐compatible list of models of MutableImageViewConcept

View

Model ImageViewConcept

Types1

Model Boost.MP11‐compatible list of models of ImageViewConcept

Types2

Model Boost.MP11‐compatible list of models of MutableImageViewConcept

Created with MrDocs