This is not a request, but a submission. I don't know how to submit this, so i added it here.
I have make some changes for my own use, in order to support TIFF images in libexif. Since the tiff structure is already in there, it was a pity not to use it.
The changes are in "exif_data_load_data" This change will only work if you read the exif from memory, not from file, since the function exif_loader_write_file will complain about the file format and won't let you continue. I will try to change that later.
The change is not very ellegant , but it's the best i could do :-)
It seems to work also for TIFF based RAW files, like CR2, but i haven't tested it much.
Also , i have modified the function to skip well known jpeg APP markers, and not just APP0 . This is because for some files, you can find different APP markers before the APP1.
I am attaching a patch for exif-data with the following changes:
a) TIFF Support when reading Exif from memory.
b) Modified to skip all well known jpeg APP markers.