Add a image to a screenshot object

def add_image(self, im):
        """ Add a image to a screenshot object """
        for im_tmp in self.images:
            if im_tmp.kind == im.kind:
                self.images.remove(im_tmp)
                break
        self.images.append(im)