您现在的位置是:首页 > 文章详情

pngpacker_V1.1,plist 打包工具、输出大图默认使用 pngquant 压缩

日期:2023-08-29点击:122

pngpacker_V1.1,plist打包工具,免费的png打包plist工具,输出大图默认使用pngquant压缩;

pngPacker是一款免费的图片打包工具,软件小巧易用,主流游戏图片格式,如 bmp,jpg,png 可以打包为 png 大图,采用命令行格,前一版本的名称为CppTextu,从V1.1版本开始,统一命名为pngPacker,主要是处理png图片的,后续升级还会增加其它功能,感谢大家的支持与关注。

使用命令:
输出单张图片
(默认压缩):
pngPacker -i 456 -n test -o 789 -f png -w 4096 -h 4096 
(不压缩):
pngPacker -i 456 -n test -o 789 -f png -w 4096 -h 4096 -c 0

输出多张图片
(默认压缩):
pngPacker -i 456 -n test%d -o 789 -f png -w 4096 -h 4096 
(不压缩):
pngPacker -i 456 -n test%d -o 789 -f png -w 4096 -h 4096 -c 0

注:
w,h取值范围:1~65535

[verson] ... v1.1.0.1
usage: pngpacker --input_dir=string [options] ...
options:
  -i, --input_dir                  input dir (string)
  -n, --ouput_name                 output atlas name (string [=out])
  -o, --ouput_dir                  output dir (string [=./])
  -p, --base_image_path            base image path (string [=])
  -f, --image_format               output image format (string [=png])
  -w, --max_width                  max atlas width (unsigned int [=4096])
  -h, --max_height                 max atlas height (unsigned int [=4096])
  -c, --enable_compress            enable use pngquant to compress generated images (bool [=1])
  -r, --enable_rotate              enable rotate (bool [=0])
  -s, --force_square               force square (bool [=0])
      --border_padding             border padding (unsigned char [= ])
      --shape_padding              shape padding (unsigned char [= ])
      --inner_padding              inner padding (unsigned char [= ])
  -b, --reduce_border_artifacts    reduce border artifacts (bool [=0])
  -t, --trim_mode                  trim pixel alpha less than input value (unsigned char [= ])
  -e, --extrude                    extrude (unsigned char [= ])
  -?, --help                       print this message

pngpacer免费软件下载,点击免费下载

原文链接:https://www.oschina.net/news/255891
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章