Implement chapter 18 bronze challenge: Saving images in PNG format.