Screenshot as sprite

Is it possible to take a screenshot and use as a sprite?

I know camera images can be used…but how about a screenshot?

You can use pictures from your photo library (which will include any screenshots). When choosing your sprite, look in Documents and there is an option to choose from your photos.

But there is no way to automate it in code?

Like press a button and it takes a screenshot and shows it on screen all in one move?

Also, Is there a way to have a button that lets the user load a photo from their photo library into a sprite?