def crop(self, left, top, right, bottom):
    self.image = self.image.crop((int(left), int(top), int(right), int(bottom)))
def crop(self, left, top, right, bottom):
    self.image = self.image.crop((int(left), int(top), int(right), int(bottom)))