![]() ![]() SetElevation must be called with the elevation in metres SetLocation requires latitude and longitude values in decimal degrees. SetLocation must be called with the latitude and longitude After use Image::ExifTool::Location Ĭreate a new Image::ExifTool object as normal. This module adds methods directly to Image::ExifTool. Return the image's GPS elevation: my $ele = $exif->GetElevation() DIAGNOSTICS Call Image::ExifTool->new() instead of Image::ExifTool::Location->new() Return the image's GPS location as a two element list: my ($lat, $lon) = $exif->GetLocation() GetElevation() Use negative values for locations below sea level. Set the image's GPS elevation to the specified height in metres. Set the image's GPS location to the specified latitude and longitude. Returns true if the image contains both of these EXIF tags: GPSAltitude GPSLongitude GPSLongitudeRef HasElevation() Returns true if the image contains all of these EXIF tags: GPSLatitude GPSLatitudeRef ![]() Read the documentation for Image::ExifTool for more information. To use them do something like this: use Image::ExifTool Īll of the methods described below are implemented in terms of Image::ExifTool's GetValue and SetNewValue methods. The methods this module provides are added directly to Image::ExifTool's interface. This module replaces that cryptic interface with simple calls ( GetLocation and SetLocation) that take care of encoding and decoding the latitude and longitude values correctly. To store latitude and longitude a total of four EXIF values are used - two to store the latitude and longitude in degrees, minutes and seconds format and two to store the hemisphere (north / south, east / west). Without this module the interface for working with GPS location information is cryptic. This module extends its interface adding methods that simplify the reading and writing of GPS location information. Image::ExifTool is a versatile module for reading and writing EXIF data in a number of image formats. This document describes Image::ExifTool::Location version 0.0.4 SYNOPSIS use Image::ExifTool Image::ExifTool::Location - Easy setting, getting of an image's location information VERSION ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |