hi,
i like to get EXIF Data like GPS from Image if available.
where to start
EXIF Data like GPS with harbour ?
Moderator: Rathinagiri
- AUGE_OHR
- Posts: 2064
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
EXIF Data like GPS with harbour ?
have fun
Jimmy
Jimmy
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: EXIF Data like GPS with harbour ?
Hi Jimmy
Try https://exiftool.org/
Try https://exiftool.org/
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- AUGE_OHR
- Posts: 2064
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: EXIF Data like GPS with harbour ?
hi,
not sure if FreeImage can get EXIF Data ... have not found a "Wrapper" Function
seem to be a great Tool ... but how get Information into HMG App
not sure if FreeImage can get EXIF Data ... have not found a "Wrapper" Function
have fun
Jimmy
Jimmy
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: EXIF Data like GPS with harbour ?
Hi Jimmy :
FreeImage supports metadata, this can be verified by reading in the hbfimage contribution.
constant in Freeimage.ch
you should read a little inside C:\Harbour\contrib\hbfimage\core.c
They are not the metadata wrapper but there are the comments of the same inside, it begins at line 1182
the routines can be found here http://read.pudn.com/downloads280/sourc ... ge.h__.htm
FreeImage supports metadata, this can be verified by reading in the hbfimage contribution.
constant in Freeimage.ch
Code: Select all
/**
Metadata models supported by FreeImage
*/
//FREE_IMAGE_MDMODEL
#define FIMD_NODATA -1
#define FIMD_COMMENTS 0 // single comment or keywords
#define FIMD_EXIF_MAIN 1 // Exif-TIFF metadata
#define FIMD_EXIF_EXIF 2 // Exif-specific metadata
#define FIMD_EXIF_GPS 3 // Exif GPS metadata
#define FIMD_EXIF_MAKERNOTE 4 // Exif maker note metadata
#define FIMD_EXIF_INTEROP 5 // Exif interoperability metadata
#define FIMD_IPTC 6 // IPTC/NAA metadata
#define FIMD_XMP 7 // Abobe XMP metadata
#define FIMD_GEOTIFF 8 // GeoTIFF metadata
#define FIMD_ANIMATION 9 // Animation metadata
#define FIMD_CUSTOM 10 // Used to attach other metadata types to a dib
They are not the metadata wrapper but there are the comments of the same inside, it begins at line 1182
the routines can be found here http://read.pudn.com/downloads280/sourc ... ge.h__.htm
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- AUGE_OHR
- Posts: 2064
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: EXIF Data like GPS with harbour ?
hi,
i have look into
c:\hmg.3.4.4\HARBOUR\contrib\hbfimage\hbfimage.hbx
C:\MiniGUI\SOURCE\hbfimage\hbfimage.hbx
but there seems me no Function for Metadata
in Extended Version i found in c:\MiniGUI\SOURCE\hbfimage\FreeImage.h
in c:\MiniGUI\SOURCE\hbfimage\core.c all DLL API Call, using BCC Syntax, are present but not active
so it need "more" HB_FUNC() which is C-Code to get Metadata but i´m only a xBase Programmer
not sure where you read about hbfimage.danielmaximiliano wrote: ↑Tue Sep 29, 2020 1:04 pm FreeImage supports metadata, this can be verified by reading in the hbfimage contribution.
i have look into
c:\hmg.3.4.4\HARBOUR\contrib\hbfimage\hbfimage.hbx
C:\MiniGUI\SOURCE\hbfimage\hbfimage.hbx
but there seems me no Function for Metadata
in Extended Version i found in c:\MiniGUI\SOURCE\hbfimage\FreeImage.h
Code: Select all
/**
Handle to a metadata model
*/
FI_STRUCT (FIMETADATA) { void *data; };
/**
Handle to a FreeImage tag
*/
FI_STRUCT (FITAG) { void *data; };
// Metadata routines
Code: Select all
/* DLL_API FIMETADATA *DLL_CALLCONV FreeImage_FindFirstMetadata( ...) */
have fun
Jimmy
Jimmy