ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 25 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Picasa
  • Properties specific to the description of gglEXIFTag variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From January 2019, the functions for managing Google Picasa photo albums will no longer be available. Indeed, the corresponding Google API is no longer available from January 2019. It is necessary to use "Google Photo API"..
This new API is accessible via AuthIdentify and HTTP requests. See https://developers.google.com/photos/library/guides/overview for more details.
The gglEXIFTag type is used to describe and modify the EXIF tags associated with a photo found in a Google Picasa album. The characteristics of this type of variable can be defined and modified by several WLanguage properties.
This type of variable is used by the gglPhoto variables.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Connection to Google
Cnt is gglConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..ApplicationName = "MyApp-01"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
END

// Retrieve the array of available albums
arrAlbum is array of gglAlbum
arrAlbum = GglListAlbum(Cnt)

// Retrieve all the photos from the first album
// (the meta-data only)
GglFillAlbum(Cnt, arrAlbum[1], gglWithImage)

// Browse the photos
MyPhoto is gglPhoto
FOR EACH MyPhoto OF arrAlbum[1]
Trace(MyPhoto..EXIFTag..ImageUniqueId)
END
Remarks

Properties specific to the description of gglEXIFTag variables

The following properties can be used to handle the EXIF tags linked to a photo found in a Google Picasa album:
NameType usedEffect
ManufacturerCharacter stringMake of the camera that took the photo.
DistanceRealDistance from the subject expressed in meters.
ExposureRealExposure time expressed in seconds.
FlashBoolean
  • True if the photo was taken with the flash,
  • False otherwise.
ImageUniqueIdentifierCharacter stringUnique identifier of the photo.
ISOIntegerEquivalent ISO value.
FocalLengthRealFocal length expressed in millimeters.
ModelCharacter stringModel of camera that took the photo.
ApertureRealAperture expressed in APEX.
TimestampIntegerTimestamp of the photo (number of milliseconds from January 1st 1970).

Remark: These properties can be used with one of the following syntaxes:
  • <Variable name>..<Property name>
  • <Variable name>.<Property name>
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/29/2020

Send a report | Local help