ImageEn, unit iexBitmaps

TIOParams.EXIF_ApertureValue

TIOParams.EXIF_ApertureValue


Declaration

property EXIF_ApertureValue: Double;


Description

The aperture of the lens when the photo was taken. The unit is APEX.
To convert EXIF_ApertureValue to a human-readable F-number (F-stop) calculate this value's power of root 2 (=1.4142). For example, if EXIF_ApertureValue is 5, then the F-number is 1.41425 = F5.6.

Note: Use EXIF_ApertureValue2 for easier access to the value.


Example

sApertureValue := ApexToStr( Sqrt( 2 ), ImageEnView1.IO.Params.EXIF_ApertureValue, 'f/' );
if sApertureValue = 'f/0' then
  sApertureValue := '';

// Write value
ImageEnView1.IO.Params.EXIF_ApertureValue := StrToApex( Sqrt( 2 ), sApertureValue, 'f/' );