Skip to content
项目

关于

It is a free, open source command-line utility for optimizing PNG image files (batch script included).

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Pngcrush

Pngcrush is an optimizer for PNG (Portable Network Graphics) files. It can be run from a commandline in an MSDOS window, or from a UNIX or LINUX commandline.

Its main purpose is to reduce the size of the PNG IDAT datastream by trying various compression levels and PNG filter methods. It also can be used to remove unwanted ancillary chunks, or to add certain chunks including gAMA, tRNS, iCCP, and textual chunks.

Source on Sourceforge

Usage

  1. Put your all png files into "workspace_in" folder;

  2. Run batch_script.sh to recompress png files:

     $ ./batch_script.sh
     
    
  3. All recompressed png files will be outputed into "workspace_out" folder;

  4. Copy the files in "workspace_out" folder to your desired place;

  5. Rm all files in "workspace_in" & "workspace_out" folders.

Note: The binary files under ./pngcrush/ were built by "GNU Make" (v3.81), you can build by yourself if want.

    $ cd ./pngcrush  
    $ make clean  
    $ make  
    $ cd -  

License

Pngcrush is open source and may be used, modified, and redistributed by anyone without paying a fee. The license, embedded in the file pngcrush.c, is equivalent but not identical to the libpng license found in the libpng file png.h.

The source except for pngcrush lib is also here granted for anyone by Kjuly.

Declare

The author of pngcrush is Glenn Randers-Pehrson ( [email protected] )

This repo is maintained by Kjuly ( [email protected] ). Based on pngcrush project, added .batch_script.sh to do batch job easier.

探索相关项目

加载中…