png image saved as name.png, where name is value from input data