• Stars
    star
    192
  • Rank 200,893 (Top 4 %)
  • Language
    C
  • Created over 11 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

KYCircleMenu

An iOS UI control that allows you to build a circular menu by laying out buttons in a circle pattern adjusting from the number of buttons (1~6).
Objective-C
787
star
2

iPokeMon

PokรฉMon like game on iOS with Location Based Service.
Objective-C
430
star
3

ALAssetsLibrary-CustomPhotoAlbum

A nice ALAssetsLibrary category for saving images & videos into custom photo album.
Objective-C
404
star
4

KYArcTab

Arcuated tab view controller with toggleing animation, 2 ~ 4 tabs are enabled. What's more, you can swipe left or right to toggle the views.
Objective-C
243
star
5

iPokeMon-Server

iPokeMon Server.
Python
122
star
6

UIBezierPath-Symbol

[DEPRECATED] Symbol extension for UIBezierPath class (UIBezierPath category).
Objective-C
115
star
7

MKMapView-ZoomLevel

MKMapView category with zoom level extension.
Objective-C
23
star
8

SLNTFS

A preference Pane that allow you to enable writing on NTFS disks via the Apple driver.
Objective-C
13
star
9

KYNearbyService

A service for nearby discovery and communication.
Swift
11
star
10

iPokeMon-Doc

All documents (including a paper) for iPokeMon development.
Shell
7
star
11

issues

Issues & workarounds.
6
star
12

YeNom

[Legacy] Project Page for YeNom - Accounting tool on iOS.
HTML
3
star
13

seek-seek-seek

A 3D maze game base on Ogre3d, Bullet Physics, OpenAL, CEGUI, etc.
C++
2
star
14

KYUnlockCodeManager

Manage unlock codes (invitation code or free code) locally on client side only (iOS).
Objective-C
2
star
15

localhost-fake-server

Localhost fake servers
Python
2
star
16

RockPaper

Project page for RockPaper - A simple Rock Paper Scissors game on iOS.
Shell
2
star
17

templates4TeX

Some templates for TeX, LaTeX, ConTeXt, and related typesetting systems.
2
star
18

3d-path-search

A simple character auto path search demo that use Ogre3d & Micropather.
C++
2
star
19

Code-Compressor

A simple javascript & CSS code online compressor.
JavaScript
2
star
20

kjuly.github.com

Dev - Kjuly.com
CSS
2
star
21

GTMOAuth2

Lib for OAuth2 (unofficial).
Objective-C
1
star
22

KYProjectPageTheme

Project page theme.
JavaScript
1
star
23

iPokeMon-Resource

You can maintains all resources including PokeMon package here.
1
star
24

ios-exploration

A repository on some iOS learning tests.
Objective-C
1
star
25

dotvim

My vim configuration.
Vim Script
1
star
26

myoctheme

my octopress theme.
JavaScript
1
star
27

PhotoShop

Just a mirror of the PhotoShop v1.0 source code.
OpenEdge ABL
1
star
28

KYImageProcessor

The image processing foundation of KYPhotoPicker.
Swift
1
star
29

UDAExplainer

Sensitive user data access explainer, such as for Photo Library, Face ID, App Tracking Transparency, etc.
Swift
1
star
30

ColorCalculation

A color extension library for calculating hex, brightness, etc.
Swift
1
star
31

KYLogger

A local system logger for Apple platforms.
Swift
1
star
32

GPA-OC

A GPA (grade point average) online calculator.
PHP
1
star