How to use it $ pngOpt.py Source Destination eg. $ pngOpt.py C:\Source C:\Destination Arguments - Source:- The directory of all the png's - Destination:- The destination directory to put the optimised png's (should not be the same as source)