boost::gil::bit_aligned_image_type
Returns the type of a packed image whose pixels may not be byte aligned. For example, an "rgb222" image is bit‐aligned because its pixel spans six bits.
Synopsis
Declared in <boost/gil/metafunctions.hpp>
template<
typename ChannelBitSizes,
typename Layout,
typename Alloc = std::allocator<unsigned char>>
struct bit_aligned_image_type;
Description
Note that the alignment parameter in the constructor of bit‐aligned images is in bit units. For example, if you want to construct a bit‐aligned image whose rows are byte‐aligned, use 8 as the alignment parameter, not 1.
Derived Classes
Name |
Description |
Returns the type of a single‐channel bit‐aligned image given the bit size of its channel and its layout |
|
Returns the type of a two channel bit‐aligned image given the bit size of its channels and its layout |
|
Returns the type of a three channel bit‐aligned image given the bit size of its channels and its layout |
|
Returns the type of a four channel bit‐aligned image given the bit size of its channels and its layout |
|
Returns the type of a five channel bit‐aligned image given the bit size of its channels and its layout |
Created with MrDocs