tinyPng Python script to compress images under Images.xcassets folder with tinyPNG. 1.安装pip: sudo easy_install pip 2.安装TinyPng库: sudo pip install --upgrade tinify 4.申请TinyPNG AppKey 5.运行Python脚本 批量压缩Images.xcassets目录下的图片