Part 2-Save a photograph in various formats