frameSize property

int get frameSize

Byte size of a single frame, equal to width * height * bytesPerPixel.

Returns 0 if width or height is 0.

Implementation

int get frameSize => BASE_frameSize(width, height, format);