boost::gil::image::image

Constructors

Synopses

Declared in <boost/gil/image.hpp>

Copy constructor

image(image const& img);

Construct from image

template<
    typename P2,
    bool IP2,
    typename Alloc2>
image(image<P2, IP2, Alloc2> const& img);

Move constructor

image(image&& img);
explicit
image(
    std::size_t alignment = 0,
    Alloc const alloc_in = Alloc());
image(
    point_t const& dimensions,
    std::size_t alignment = 0,
    Alloc const alloc_in = Alloc());
template<typename Loc>
requires pixels_are_compatible<typename Loc::value_type, Pixel>::value
image(
    image_view<Loc> const& view,
    std::size_t alignment = 0,
    Alloc const alloc_in = Alloc());
image(
    x_coord_t width,
    y_coord_t height,
    std::size_t alignment = 0,
    Alloc const alloc_in = Alloc());
image(
    point_t const& dimensions,
    Pixel const& p_in,
    std::size_t alignment = 0,
    Alloc const alloc_in = Alloc());
image(
    x_coord_t width,
    y_coord_t height,
    Pixel const& p_in,
    std::size_t alignment = 0,
    Alloc const alloc_in = Alloc());

Created with MrDocs