Creates instances of BufferedImage classes based on object data and saves the images as JPEG and TIFF.