Convert .snag files to .jpg

The following code converts .snag files into .jpg formats. This isn’t directly supported by the SnagIt COM API, but I was able to hack it by way of SendKeys to get an image onto the clipboard. In a broader sense, I’m using this to convert .snag files to .jpg on the file, which I can then insert into blank PowerPoint slides for dynamically building presentations. SnagIt code appears to be scarce on the Internet, so I’m offering this as thanks to others that posted various aspects that I pieced together to accomplish this.