Implemented png generator