The OpenD Programming Language

Image.hasData

An image can have data (usually pixels), or not. "Data" refers to pixel content, that can be in a decoded form, but also in more complicated forms such as planar, compressed, etc. (FUTURE)

Note: An image that has no data doesn't have to follow its LayoutConstraints. But an image with zero size must. An image that "has data" also "has a type". Tags: #valid.

struct Image
nothrow @nogc @safe pure const
bool
hasData
()

Meta