Logo Search packages:      
Sourcecode: lazygal version File versions  Download package

def lazygal::metadata::ExifTags::get_exif_float (   self,
  name 
)
Reads float number from EXIF information (where it is stored as
fraction). Returns empty string if key is not found.

Definition at line 126 of file metadata.py.

                                  :
        '''
        Reads float number from EXIF information (where it is stored as
        fraction). Returns empty string if key is not found.
        '''
        try:
            val = self.get_exif_float_value(name)
            return str(round(val, 1))
        except (IndexError, KeyError):
            return ''


Generated by  Doxygen 1.6.0   Back to index