8 #ifndef BOOST_GIL_RGBA_HPP 9 #define BOOST_GIL_RGBA_HPP 11 #include <boost/gil/planar_pixel_iterator.hpp> 12 #include <boost/gil/rgb.hpp> 14 #include <boost/mpl/contains.hpp> 15 #include <boost/mpl/vector.hpp> 19 namespace boost {
namespace gil {
26 using rgba_t = mpl::vector4<red_t,green_t,blue_t,alpha_t>;
39 template <
typename IC>
43 IC r, IC g, IC b, IC a,
44 std::ptrdiff_t rowsize_in_bytes)
47 return RView(width, height,
Definition: algorithm.hpp:30
An iterator over planar pixels. Models HomogeneousColorBaseConcept, PixelIteratorConcept, HomogeneousPixelBasedConcept, MemoryBasedIteratorConcept, HasDynamicXStepTypeConcept.
Definition: algorithm.hpp:34
Given a pixel iterator defining access to pixels along a row, returns the types of the corresponding ...
Definition: metafunctions.hpp:239
Alpha.
Definition: rgba.hpp:23
Represents a color space and ordering of channels in memory.
Definition: utilities.hpp:247
type_from_x_iterator< planar_pixel_iterator< IC, rgba_t > >::view_t planar_rgba_view(std::size_t width, std::size_t height, IC r, IC g, IC b, IC a, std::ptrdiff_t rowsize_in_bytes)
from raw RGBA planar data
Definition: rgba.hpp:42