ImageEn, unit iexBitmaps

TIOParams.EXIF_GPSAltitude

TIOParams.EXIF_GPSAltitude


Declaration

property EXIF_GPSAltitude: Double;


Description

Returns the altitude (in meters) based on the reference in EXIF_GPSAltitudeRef.

Note: To save GPS data, you must set EXIF_GPSVersionID to '2.2.0.0' (or use the const, GPS_Version_ID), and also have a valid value for EXIF_GPSAltitudeRef


Example

// Write EXIF data to the current file
ImageEnView1.IO.Params.EXIF_GPSAltitude    := StrToFloat( edtEXIF_GPSAltitude.Text );
ImageEnView1.IO.Params.EXIF_GPSAltitudeRef := '0';
ImageEnView1.IO.Params.EXIF_GPSVersionID := GPS_Version_ID;
ImageEnView1.IO.InjectJpegEXIF('D:\GPSStamped.jpg');