need to install a third party library, pip install pillow, read pic --> convert by PIL --> save as another pic
pip install pillow