Repair loosing quality in showing png