If the user passes height / width to VideoFrame.to_image(), the
output of reformat() may have a different size than the original
frame, so we cannot rely on self.height
or self.width
.
If the user passes height / width to VideoFrame.to_image(), the
output of reformat() may have a different size than the original
frame, so we cannot rely on self.height
or self.width
.