def add_picture(self, fn, *args):
        im = Image.open(fn)
        width, height = im.size
        im.thumbnail((width / 4, height / 4), Image.ANTIALIAS)
        im.save(fn, quality=95)
        self.root.add_widget(Picture(source=fn, center=self.root.center))
dataset/ETHPy150Open kivy/kivy/examples/android/takepicture/main.py/TakePictureApp.add_picture/original