I've had the best luck using opitpng and then pngout.
https://github.com/ajslater/picopt ...will do this automatically for you.
Pictopt: A multi-format, recursive, multiprocessor aware, command line image optimizer utility that uses external tools to do the optimizing.
For an all in one GUI for Mac approach to this, try ImageOptim