8 #ifndef BOOST_GIL_CMYK_HPP
9 #define BOOST_GIL_CMYK_HPP
11 #include <boost/gil/metafunctions.hpp>
12 #include <boost/gil/detail/mp11.hpp>
16 namespace boost {
namespace gil {
35 using cmyk_t = mp11::mp_list<cyan_t, magenta_t, yellow_t, black_t>;
42 template <
typename IC>
43 inline auto planar_cmyk_view(std::size_t width, std::size_t height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes)
auto planar_cmyk_view(std::size_t width, std::size_t height, IC c, IC m, IC y, IC k, std::ptrdiff_t rowsize_in_bytes) -> typename type_from_x_iterator< planar_pixel_iterator< IC, cmyk_t >>::view_t
from raw CMYK planar data
Definition: cmyk.hpp:43
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition: algorithm.hpp:36
Black.
Definition: cmyk.hpp:31
Cyan.
Definition: cmyk.hpp:22
Represents a color space and ordering of channels in memory.
Definition: utilities.hpp:268
Magenta.
Definition: cmyk.hpp:25
An iterator over planar pixels. Models HomogeneousColorBaseConcept, PixelIteratorConcept,...
Definition: planar_pixel_iterator.hpp:58
Given a pixel iterator defining access to pixels along a row, returns the types of the corresponding ...
Definition: metafunctions.hpp:303
Yellow.
Definition: cmyk.hpp:28