added save_png; it writes metadata