QgsExifTools class
Contains utilities for working with EXIF tags in images.
Contents
- Reference
Public types
- class GeoTagDetails
- Extended image geotag details.
Public static functions
-
static auto geoTagImage(const QString& imagePath,
const QgsPointXY& location,
const GeoTagDetails& details = QgsExifTools::
GeoTagDetails()) -> bool - Writes geotags to the image at imagePath.
- static auto getGeoTag(const QString& imagePath, bool& ok) -> QgsPoint
- Returns the geotagged coordinate stored in the image at imagePath.
Function documentation
static bool QgsExifTools:: geoTagImage(const QString& imagePath,
const QgsPointXY& location,
const GeoTagDetails& details = QgsExifTools:: GeoTagDetails())
Writes geotags to the image at imagePath.
The location argument indicates the GPS location to write to the image, as a WGS84 latitude/longitude coordinate.
If desired, extended GPS tags (such as elevation) can be specified via the details argument.
Returns true if writing was successful.