public string GetApertureValueDescription()
 {
     if (!Directory.TryGetDouble(OlympusMakernoteDirectory.TagApertureValue, out double aperture))
     {
         return(null);
     }
     return(GetFStopDescription(PhotographicConversions.ApertureToFStop(aperture)));
 }
 public string GetMaxApertureValueDescription()
 {
     if (!Directory.TryGetDouble(ExifDirectoryBase.TagMaxAperture, out double aperture))
     {
         return(null);
     }
     return(GetFStopDescription(PhotographicConversions.ApertureToFStop(aperture)));
 }
        public string GetApertureValueDescription()
        {
            double value;

            if (!Directory.TryGetDouble(XmpDirectory.TagApertureValue, out value))
            {
                return(null);
            }
            return(GetFStopDescription(PhotographicConversions.ApertureToFStop(value)));
        }
        public virtual string GetApertureValueDescription()
        {
            double?value = _directory.GetDoubleObject(XmpDirectory.TagApertureValue);

            if (value == null)
            {
                return(null);
            }
            double fStop = PhotographicConversions.ApertureToFStop((double)value);

            return("F" + SimpleDecimalFormatter.Format(fStop));
        }
Exemple #5
0
        public virtual string GetMaxApertureValueDescription()
        {
            double?aperture = _directory.GetDoubleObject(ExifSubIFDDirectory.TagMaxAperture);

            if (aperture == null)
            {
                return(null);
            }
            double fStop = PhotographicConversions.ApertureToFStop(aperture.Value);

            return("F" + SimpleDecimalFormatter.Format(fStop));
        }