Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Exif File Extensions
Exif files may, but do not have to, contain extensions. These extensions may contain many types of data. To access this extension data, LEADTOOLS provides the L_ReadFileExtensions. The extensions are kept in an EXTENSIONLIST structure. When the L_ReadFileExtensions function is called, LEADTOOLS will look for the extensions. If they are present, LEADTOOLS will allocate a structure large enough to contain all the extensions.
Two common uses for these extensions are storing an extra stamp and embedding audio data. LEADTOOLS provides functions for getting these two specific types of information. To get extra stamp data stored in the extensions, use the L_LoadExtensionStamp function. To get embedded audio data, use the L_GetExtensionAudio function. To access other types of data from the Exif extensions, the user will have to handle that directly.
When the extension data is no longer needed, it should be freed by calling the L_FreeExtensions function.