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 take a look now...
Does the image already have EXIF data?
  
Actually no, I get the GPS info from another source and I have to put then into an image without any EXIF info.

Regards.