Convert table to image and save to file