Add write_to_png for exporting images