I have scanned a lot of old pictures and now i want to add the correct date to them.
So is it possible to add exif data to an picture that dont have any exif data in it.
Can i do it with the gfl sdk?
Add exif data
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 45050
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 16
- Joined: Sun Mar 21, 2010 1:20 pm
Re: Add exif data
You dont have any example code how to do it?
-
- Author of XnView
- Posts: 45050
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Add exif data
for example
Code: Select all
GFL_EXIF_DATAEX* exif = gflBitmapGetEXIF2(gflBitmap);
gflBitmapSetEXIFValueString2( exif, GFL_EXIF_IFD_0, 0x0131, "my soft" );
gflBitmapSetEXIFValueRational2(exif, GFL_EXIF_IFD_0, 0x011a, 200, 1);
gflBitmapSetEXIF2(gflBitmap,exif);
Pierre.
-
- Posts: 16
- Joined: Sun Mar 21, 2010 1:20 pm
Re: Add exif data
is that c ? im a newbie that uses visual basic...
-
- Author of XnView
- Posts: 45050
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Add exif data
yes C. Currently the VB wrapper is not updated for that...sct|nsky wrote:is that c ? im a newbie that uses visual basic...
Pierre.