I am writing an application which read/write metadata for an image (it converts a raw file into a jpeg/tiff) and I need to write metadata about camera/mode/...into the generated jpeg.
I know that I can do this using exif and in windows I am using GDI to do this. But I am reading information about xmp and xmp sdk from adobe.
I am wondering which one should I use? exif or xmp?
How they are relates to each other?
Why one may select to write exif metadata and somebody else may select XMP? What is the pros/cons of selecting any of them.
I am writing in c++ on windows (visual studio 2012)