Improved PNG exporter