adds image PNG optimization and compression