Install libpng on Mac OSX

About the App

Install the App

  1. Press Command+Space and type Terminal and press enter/return key.
  2. Run in Terminal app:
    ruby -e "$(curl -fsSL" < /dev/null 2> /dev/null
    and press enter/return key.
    If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
  3. Run:
    brew install libpng

Done! You can now use libpng.

One thought on “Install libpng on Mac OSX

  • I followed the instruction and everything ran smoothly. Now I have these files -libpng.a libpng16.16.dylib libpng16.dylib
    libpng.dylib libpng16.a pkgconfig – in this directory /usr/local/Cellar/libpng/1.6.32/lib/.
    How do I like this to Xcode for compiling C programs.

Leave a Reply

Your email address will not be published. Required fields are marked *