Lutz Müller a écrit :
On Tue, 2005-07-12 at 12:27 +0200, Fabien Poupineau wrote:
  
I'm currently working on an application that needs to write Exif data 
(GPS) into a jpeg file.
Actually, I have a tiffRepresentation (the image data) and I want to add 
GPS info into this data, in order to save the whole in a jpg file.
I want to use libexif, but I can't understand the API, and the 
documentation is a bit poor... :)
    

Agreed. Perhaps the code in libexif/test/test-mem.c can help you to
understand the syntax.
  
I read this file, but I still don't understand how do you assign the values to the tags: if I want to set the GPSLongitudeRef to east, what do I have to do ?
I think I get how you save the exif data with the jpg data, but it lacks me the setting of the tags...

Hoping for your answer,
Thanks.