'img must be ndarray of shape (x,y), (x,y,3), or (x,y,4).
Extra arguments are sent to functions.makeARGB'

def setImage(self, img, *args, **kargs):

    self.opts = (img, args, kargs)
    self.image = None
    self.update()
