Added tiff image detection on image export