Hi Pierre,
I have linker problem (C++Builder6) when I use this functions :
- gflFreeEXIF2
- gflBitmapSetEXIFValueInt2
- gflBitmapGetEXIF2
I use "in file" search on the GFLSDK folder and this functions appears only in the header file.
Rgds,
GFLSDK 2.82 Linker error for EXIF editing functions
Moderators: XnTriq, helmut, xnview
-
- Posts: 72
- Joined: Thu Nov 08, 2007 9:22 am
-
- Author of XnView
- Posts: 44325
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: GFLSDK 2.82 Linker error for EXIF editing functions
Right, please send me your email, and i'll send you a good version
Pierre.
-
- Posts: 72
- Joined: Thu Nov 08, 2007 9:22 am
Exif continued
Hi,
Thank you for sending the corrected libs and this examples (for everybody), it works nice :
I have images without EXIF information and I'd like to create it like IPTC's function gflNewIPTC. Is it possible to have a gflNewEXIF2 function or perhaps gflBitmapGetEXIF2 can send a blank structure?
Thanks in advence !
Thank you for sending the corrected libs and this examples (for everybody), it works nice :
Code: Select all
exif2 = gflBitmapGetEXIF2( gflBitmap );
GFL_EXIF_ENTRYEX* ptr = exif2->Root;
while ( ptr )
{
printf("%x (%d) : %d %d %d [%u]\n", (unsigned)ptr->Tag, (unsigned)ptr->Ifd, ptr->Format, ptr->NumberOfComponents, ptr->DataLength, ptr->Value );
ptr = ptr->Next;
}
gflBitmapSetEXIFValueString2( exif2, 1, 0x010f, "My cam" );
gflBitmapSetEXIFValueInt2( exif2, 1, 0x0128, GFL_EXIF_USHORT, 10 );
gflBitmapSetEXIFValueInt2( exif2, 2, 0xa002, GFL_EXIF_ULONG, 512 );
gflBitmapSetEXIFValueRational2( exif2, 2, 0x829a, 512.0, 200.0 );
gflBitmapSetEXIFValueString2( exif2, 2, 0x9286, "ASCII <My>" );
gflBitmapRemoveMetaData( gflBitmap );
gflBitmapSetEXIF2( gflBitmap, exif2 );
gflFreeEXIF2( exif2 );
Thanks in advence !
Dom
-
- Posts: 72
- Joined: Thu Nov 08, 2007 9:22 am