Pngcrush version 1.6.15 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    pngcrush  most recent diff


    version 1.6.15

      View the most recent changes for the pngcrush port at: pngcrush.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for pngcrush.
      The raw portfile for pngcrush 1.6.15 is located here:
      http://pngcrush.darwinports.com/dports/graphics/pngcrush/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/pngcrush


      The pngcrush Portfile 48763 2009-03-28 15:04:54Z arthurk macports.org $

      PortSystem 1.0
      Name: pngcrush
      Version: 1.6.15
      Category: graphics
      Maintainers: nomaintainer
      Description: optimizer for PNG files
      Long Description: pngcrush reads in a PNG image, and writes it out again, with the optimum filter_type and zlib_level. It uses brute force (trying filter_type none, and libpng adaptive filtering, with compression levels 3 and 9). It does the most time-consuming method last in case it turns out to be the best. Optionally, it can remove unwanted chunks or add gAMA and sRGB chunks.

      Platform: darwin freebsd

      Homepage: http://pmt.sourceforge.net/pngcrush/
      Master Sites: sourceforge:pmt
      use_bzip2 yes

      Checksums: md5 e1e48750d135430c608b6029bd78a26b sha1 663d1d65fa0aa17836d29c26e4723f412b0de19d rmd160 e35fc64a0365f2fc3e5400c20ad8bbff0d69e7f8

      use_configure no

      build.args-append CC="${configure.cc}" LD="${configure.cc}"

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin
      xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/pngcrush
      % sudo port install pngcrush
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching pngcrush
      ---> Verifying checksum for pngcrush
      ---> Extracting pngcrush
      ---> Configuring pngcrush
      ---> Building pngcrush with target all
      ---> Staging pngcrush into destroot
      ---> Installing pngcrush
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using pngcrush with these commands:
      %  man pngcrush
      % apropos pngcrush
      % which pngcrush
      % locate pngcrush

     Where to find more information:

    Darwin Ports



    Lightbox this page.