Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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 Replace framework with a git submodule pointing to the official theos…
layout/DEBIAN Whoops, this is REALLY 0.9.2.
libpng
zlib Convert libpng and zlib to statically-linked subprojects of pincrush …
.gitignore Remove and ignore generated binaries.
.gitmodules
Makefile Update the Makefile to automatically fetch theos (git submodules!) if…
README.md Update the Makefile to automatically fetch theos (git submodules!) if…
pincrush.c Use linux/limits.h instead of fam.h (wtf?) on Linux.
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
    
Something went wrong with that request. Please try again.