(h, f)
JPEG data in JFIF or Exif format
JPEG data in JFIF or Exif format
JPEG data in JFIF or Exif format
def test_jpeg(h, f):
    """JPEG data in JFIF or Exif format"""
    if h[6:10] in (b'JFIF', b'Exif'):
        return 'jpeg'
def test_jpeg ( h , f ) : if h [ 6 : 10 ] in ( b'JFIF' , b'Exif' ) : return 'jpeg'