Expression qimage:rect() returns a Qt variant of class qt.QRect representing the boundaries of the image qimage.