Generic Image Library: size

Modules | Alphabetical List | Class List | Directories | File List | GIL Home Page

# size
[Algorithms and Utility Functions]

## Detailed Description

Returns an MPL integral type specifying the number of elements in a color base.

size: Semantic channel size

Example:

    BOOST_STATIC_ASSERT((size<rgb8_pixel_t>::value == 3));
    BOOST_STATIC_ASSERT((size<cmyk8_planar_ptr_t>::value == 4));

## Classes

struct | size
| Returns an MPL integral type specifying the number of elements in a color base. More...