python 脚本 pngquant 压缩PNG
本地运行脚本,主要功能包括:
1.会压缩根目录下的png 的图片;
2.本地记录一份压缩过的所有图片信息;
3.如果是相同名字的图片替换过,有三种情况:
1两种图片大小相同,不会操作;
2.新的图片小于旧的图片,不会压缩,更新图片信息;
3.新的图片大于旧的图片,会压缩,更新图片信息;
4.如果是新增,直接压缩,更新存储记录;
PS:打印没有删除,可以辅助理解逻辑,请多多指教。
This project forked from beiyangguangsumiao/python-ios-pngquant-png-
python 脚本 pngquant 压缩PNG
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.