Thanks for your reply.
That is exactly what I am trying to do, save it as an image. I found the answer from another response. I was leaving out the ">" when opening the file to write to.
It now works. Now I am working on a next problem and will probably be asking for assistence once I research it a bit on my own.
Thanks again for the rapid response.