Performance: Don't read TIFF-based files completely
TIFF and TIFF-based RAW files tend to be large. Loading the whole file into memory takes time. In practice, the metadata is usually located at the beginning of the file, although the TIFF standard doesn't require this.
A smarter load mechanism is required to avoid reading the whole picture if it is n ot necessary.