Change default encoding to png