Image.data

const(ubyte) * data() const nothrow @nogc

Gets a pointer to the raw pixel data.

The returned pointer is valid only while this Image object exists. Do not free or modify the returned data.

Returns

Pointer to pixel data, or null if no data