Page 1 of 1
Add exif data
Posted: Tue Nov 16, 2010 9:25 pm
by sct|nsky
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?
Re: Add exif data
Posted: Wed Nov 17, 2010 9:22 am
by xnview
yes you can add EXIF values with GFLSDK
Re: Add exif data
Posted: Wed Nov 17, 2010 5:47 pm
by sct|nsky
You dont have any example code how to do it?
Re: Add exif data
Posted: Wed Nov 17, 2010 8:28 pm
by xnview
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);
Re: Add exif data
Posted: Thu Nov 18, 2010 9:40 pm
by sct|nsky
is that c ? im a newbie that uses visual basic...
Re: Add exif data
Posted: Fri Nov 19, 2010 8:00 am
by xnview
sct|nsky wrote:is that c ? im a newbie that uses visual basic...
yes C. Currently the VB wrapper is not updated for that...