Pixbuf.getByteLength

size_t getByteLength()

Returns the length of the pixel data, in bytes.

Returns

The length of the pixel data.