Class: Exif::Tag::Exif::LightSource
Overview
0x9208 - LightSource
Instance Attribute Summary
Attributes inherited from Base
#IFD, #count, #data, #dataPos, #pos, #tagID
Instance Method Summary collapse
Methods inherited from Base
#formatExposureTime, #formatFNumber, #formatFocalLength, #formatLatLon, #initialize, #inspect, #name, #processData, #value
Constructor Details
This class inherits a constructor from Exif::Tag::Base
Instance Method Details
#to_s ⇒ Object
1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 |
# File 'lib/exifparser/tag.rb', line 1037 def to_s case @formatted when 0 'Unknown' when 1 'Daylight' when 2 'Fluorescent' when 3 'Tungsten' when 4 'Flash' when 9 'Fine weather' when 10 'Croudy weather' when 11 'Shade' when 12 'Daylight fluorescent' when 13 'Day white fluorescent' when 14 'Cool white fluorescent' when 15 'White fluorescent' when 17 'Standard light A' when 18 'Standard light B' when 19 'Standard light C' when 20 'D55' when 21 'D65' when 22 'D75' when 23 'D50' when 24 'ISO studio tungsten' when 255 'other light source' else 'reserved' end end |