Searched through net, could’t find a way to read/write file metadata using C or C++, however, there are tools available for this, and also there are API’s in C# and Java to do this. But I want to do it from scratch in C or C++.
For example, read/write image metadata.
Have found out that there are three formats in which metadata is written to files. EXIF, IPTC and XMP.
Thanks.
Why would you want to do it from scratch?
Anyway, you need documentation and you may also want to look at an existing library for helps, expecially if you have no experience in the field.
Have you tried Exiv ?