当前位置:网站首页>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 .
边栏推荐
- Ijkplayer code walkthrough player network video data reading process details
- App performance test: (IV) power
- Kotlin basic string operation, numeric type conversion and standard library functions
- Solutions to common problems in small program development
- 347. top k high frequency elements heap sort + bucket sort +map
- App performance test: (II) CPU
- Detailed explanation of PHP distributed transaction principle
- c语言对文件相关的处理和应用
- Kotlin collaboration - flow+room database
- [JS] array de duplication
猜你喜欢
JetPack - - -WorkManger
Free screen recording software captura download and installation
Failed to extract manifest from apk: processexception:%1 is not a valid Win32 Application.
SSM框架整合--->简单后台管理
Solution: vscode open file will always overwrite the last opened label
JetPack - - - LifeCycle、ViewModel、LiveData
【新手上路常见问答】关于技术管理
数据在内存中的存储(C语言)
【sketchup 2021】草图大师的图像输出与渲染之样式说明【边线设置、平面设置、背景设置、水印设置、建模设置、天空背景创建天空、利用水印背景创建天空(重要)】
AI realizes "Resurrection" of relatives | old photo repair | old photo coloring, recommended by free app
随机推荐
端午安康,使用祝福话语生成词云吧
Uniapp (upload local pictures, preview pictures, convert Base64 format, upload audio files)
Dynamic link library nesting example
Analysis of 43 cases of MATLAB neural network: Chapter 11 optimization of continuous Hopfield Neural Network -- optimization calculation of traveling salesman problem
After clicking the uniapp e-commerce H5 embedded applet, the page prompts "the page iframe does not support referencing non business domain names"
[JS] handwriting call(), apply(), bind()
SSM framework integration -- > simple background management
時間格式化工具----moment.js(網頁時間實時展示)
[FAQs for novices on the road] understand program design step by step
Kotlin collaboration -- context and exception handling
Kotlin foundation extension
'ipconfig' is not an internal or external command, nor is it a runnable program or batch file.
Intelligent digital asset management helps enterprises win the post epidemic Era
Detailed explanation of PHP distributed transaction principle
无刷直流电机矢量控制(四):基于滑模观测器的无传感器控制
[case] a super easy-to-use tool -- a calculator for programmers
《MATLAB 神经网络43个案例分析》:第10章 离散Hopfield神经网络的分类——高校科研能力评价
ADB shell content command debug database
MFS details (vii) - - MFS client and Web Monitoring installation configuration
Binary search