Function RasterView.planeCount

Number of logical planes/bands.

size_t planeCount() const pure nothrow @nogc @property @safe;

Example

Example reading the plane count of the default view.

import raster;
RasterView!ubyte view;
assert(view.planeCount == 0);