Using the Pillow library