frameSize property

int get frameSize

Implementation

int get frameSize {
  if (width == 0 || height == 0) return 0;
  return width * height * bytesPerPixel;
}