Convert sheet to image from existing file

Refer to the following example code to see how to convert a worksheet to an image.