Application Function DLL
This example shows how to define, read and write user-defined data objects from or to an ERDAS HFA file in a platform-independent form.
(C source code)
(EML source code)
(Visual C++ Project)(Windows Only)
The imageAccessMetadata example is intended to show how to store any user-defined information with an image file. This might be metadata information that can be stored in a predefined path.
The first step is to create a structure that will hold the metadata we want to add to our image file. Then we need to create an Emif_Design that accurately reflects the structure we plan to use. Once we populate our structure with metadata, we write the information to a user-specified location in the file using eimg_FileNodeDataWrite.
Application Function Arguments
The example writes/reads the user-defined metadata to the specified input file. No separate input file is created.