EXIF meta-data during RAW parsing


Just wondering is there a data structure that records a relatively complete list of meta-data from the headers of the RAW files? I know there are a few of them now - "libraw_iparams_t", "libraw_lensinfo_t", "libraw_makernotes_t" and "libraw_imgother_t".

If there is something like "exiftool", that would be nice.

Thanks a lot,



You can install your own EXIF

You can install your own EXIF-callback and get all EXIF/TIFF tags into your app.
This callback is called:
- EXIF: tag parameter is EXIF tag ID
- Kodak Metadata: tag | 0x20000
- Panasonic metadata: tag | 0x30000
- Tiff/DNG IFDs: tag | ((ifd + 1) << 20)

(tag upper bits are for LibRaw 0.19, in 0.18 ifd# was not passed)

This callback is not called on makernotes value parsing, but will receive complete makernotes record as tag# 0x927c

-- Alex Tutubalin


Input data 'pointer' (in LibRaw_datastream* data pointer passed to callback) is positioned to start of data, pointer is restored after callback called, so you just may use data->read(....) to read tag-pointed data.

-- Alex Tutubalin