Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Pincrush is an open PNG optimizer implementing Apple's proprietary CgBI format.
C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
framework @ 381546a
layout/DEBIAN
libpng Convert libpng and zlib to statically-linked subprojects of pincrush …
zlib Convert libpng and zlib to statically-linked subprojects of pincrush …
.gitignore
.gitmodules Replace framework with a git submodule pointing to the official theos…
Makefile
README.md
pincrush.c
rgb.png Argh.

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
    
Something went wrong with that request. Please try again.