There's no need for the TIFF specific code.
We have that in the JPEG EXIF code. So moved the EXIF code out to a separate function for reuse.