Pincrush is an open PNG optimizer implementing Apple's proprietary CgBI format.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit behind DHowett:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
framework @ 381546a
layout/DEBIAN
libpng
zlib
.gitignore
.gitmodules
Makefile
README.md
pincrush.c
rgb.png

README.md

An attempt to replicate Apple's PNG Mangler.

Apple's PNG files are nowhere near valid (extra critical chunk with an unknown format, zlib headers discarded, premultiplied alpha). "Think different" and all that.

Prerequisites

  • a compiler
    • (for iPhone compilation) Apple's Xcode or the open toolchain

Compiling

  • iPhone (default target)

      make
    
  • Native (linux, OS X)

      make target=native