Thanks for the pointers. I got the script to work. Is there a way to send the output of WinHttpRequest directly instead of saving the image on the hard drive and then displaying it?