Enebled class 'Exif' to be initialized with JPEG or TIFF.