I noticed the VB modules don't have the most current updates for some of the new EXIF and IPTC function declarations.. so, gflLoadEXIF and gflSetIPTCValue aren't even recognized.
Anyone have 'em?
I've manually added the following (and there some missing IPTC declarations):
Added: Public Declare Function gflBitmapHasEXIF Lib "libgfl240.dll" (ByRef src As GFL_BITMAP) As Byte
Added: Public Declare Function gflBitmapGetEXIF Lib "libgfl240.dll" (ByRef src As GFL_BITMAP) As Byte
Added following:
Public Const GFL_EXIF_MAIN_IFD = &H1
Public Const GFL_EXIF_IFD_0 = &H2
Public Const GFL_EXIF_INTEROPERABILITY_IFD = &H4
Public Const GFL_EXIF_IFD_THUMBNAIL = &H8
Public Const GFL_EXIF_GPS_IFD = &H10
Public Const GFL_EXIF_MAKERNOTE_IFD = &H20
...but I'm not sure how to declare the following since i don't know how VB interprest ItemList in the GFL_EXIF_DATA type/structure:
1) ?? Public Declare Sub gflFreeEXIF (GFL_EXIF_DATA * exif_data)
2) ?? Public Declare Function gflLoadEXIF Lib "libgfl240.dll" (ByVal Name As String) As Integer
...again there are others, e.g. "gflSetIPTCValue", but i've just started looking at this.
Sample VB code to read/write both EXIF and IPTC tags would be nice, too.
Thx..
Jeff
GFL SDK VB EXIF/IPTC Function Declarations..
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44920
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: GFL SDK VB EXIF/IPTC Function Declarations..
I've the same problem, i don't how to declare GFL_EXIF_DATA structure.j2brown wrote:I noticed the VB modules don't have the most current updates for some of the new EXIF and IPTC function declarations.. so, gflLoadEXIF and gflSetIPTCValue aren't even recognized.
Anyone have 'em?
I've manually added the following (and there some missing IPTC declarations):
Added: Public Declare Function gflBitmapHasEXIF Lib "libgfl240.dll" (ByRef src As GFL_BITMAP) As Byte
Added: Public Declare Function gflBitmapGetEXIF Lib "libgfl240.dll" (ByRef src As GFL_BITMAP) As Byte
Added following:
Public Const GFL_EXIF_MAIN_IFD = &H1
Public Const GFL_EXIF_IFD_0 = &H2
Public Const GFL_EXIF_INTEROPERABILITY_IFD = &H4
Public Const GFL_EXIF_IFD_THUMBNAIL = &H8
Public Const GFL_EXIF_GPS_IFD = &H10
Public Const GFL_EXIF_MAKERNOTE_IFD = &H20
...but I'm not sure how to declare the following since i don't know how VB interprest ItemList in the GFL_EXIF_DATA type/structure:
1) ?? Public Declare Sub gflFreeEXIF (GFL_EXIF_DATA * exif_data)
2) ?? Public Declare Function gflLoadEXIF Lib "libgfl240.dll" (ByVal Name As String) As Integer
...again there are others, e.g. "gflSetIPTCValue", but i've just started looking at this.
Sample VB code to read/write both EXIF and IPTC tags would be nice, too.
Thx..
Jeff
Pierre.