当前位置:网站首页>Pngquant batch bat and parameter description
Pngquant batch bat and parameter description
2022-06-13 06:38:00 【l8487】
1、 The following batch code is copied and saved to xxx.bat In file , And then pngquant.exe Put it in the same directory and you can use .
set b=%cd%
cd %cd%
pngquant *.png --ext=.png --force --skip-if-larger --strip --nofs
echo " Compression complete "
pause
2、 The second problem that needs to be explained is , This --strip Parameters , Used to remove all kinds of information other than the image .
I found that the company used photoshop Of “ Save as ” The saved png picture , It often carries a lot of non picture information , Open in Notepad png You can see a lot of xml Describe the content . And this kind of picture uses pngquant When compressed , One 2M Pictures of the , Compressed yes 1.9M, This obviously has a problem .windows The platform parameter is off by default , You can add this parameter when compressing .
边栏推荐
- [JS] array flattening
- Array operations in JS
- [FAQs for novices on the road] understand program design step by step
- Explication détaillée du triangle Yang hui
- 机器学习笔记 - 监督学习备忘清单
- 线程池学习
- Kotlin collaboration process +flow download case
- Recyclerview has data flicker problem using databinding
- Huawei developer certification and deveco studio compiler Download
- Custom attribute acquisition of view in applet
猜你喜欢
Basic knowledge of knowledge map
Solution: vscode open file will always overwrite the last opened label
[FAQs for novices on the road] understand program design step by step
[FAQs for novices on the road] about technology management
[SketchUp 2021] CAD file import and modeling in the sketch master (establish elevation model in the sketch master by using CAD drawings), and the sketch master exports 2D, 3D and elevation effects of
AI realizes "Resurrection" of relatives | old photo repair | old photo coloring, recommended by free app
Kotlin collaboration -- context and exception handling
数据在内存中的存储(C语言)
【sketchup 2021】草图大师中CAD文件的导入与建模(利用cad图纸在草图大师中建立立面模型)、草图大师导出成品为dwg格式的二维、三维、立面效果到cad中打开预览】
楊輝三角形詳解
随机推荐
【sketchup 2021】草图大师的图像输出与渲染之样式说明【边线设置、平面设置、背景设置、水印设置、建模设置、天空背景创建天空、利用水印背景创建天空(重要)】
JetPack - - - DataBinding
Relationship between fragment lifecycle and activity
线程相关点
Dragon Boat Festival wellbeing, use blessing words to generate word cloud
Applet disable native top
【案例】一个超级好用的工具 —— 给程序员用的计算器
十六、IO流(二)
The web server failed to start Port 7001 was already in use
Using async await in applets
[FAQs for novices on the road] about technology management
Analysis of 43 cases of MATLAB neural network: Chapter 10 classification of discrete Hopfield Neural Network -- evaluation of scientific research ability of colleges and Universities
MFS详解(七)——MFS客户端与web监控安装配置
MFS详解(六)——MFS Chunk Server服务器安装与配置
[case] a super easy-to-use tool -- a calculator for programmers
十五、IO流(一)
【sketchup 2021】草图大师中CAD文件的导入与建模(利用cad图纸在草图大师中建立立面模型)、草图大师导出成品为dwg格式的二维、三维、立面效果到cad中打开预览】
Common websites and tools
[2022 college entrance examination season] what I want to say as a passer-by
App performance test: (IV) power