Image.count

int count() const nothrow @nogc

Gets the number of data elements.

Returns

Number of data elements (1 for most images)