Help please!

I am making a slideshow to put on the web. I want to add a save button so when they click on it the current bitmap on the screen gets saved to thier hard drive. I have the button on every frame but I don’t now what code I use to save the picture. PLZ HELP:(