I am wondering if there is a way to get a screen shot/image capture of an entire frame withing a page. An application I am working on has one frame with all the content in it, that has scrollbars. I am looking to have the entire frame recorded into an image file.

I have searched, but have not been able to find something that got me near what I was looking for. I have seen and tried Tarun's screenshot capture API, but I couldn't figure out a way to capture images in this manner.