Image-ExifTool
view release on metacpan or search on metacpan
lib/Image/ExifTool/PhaseOne.pm view on Meta::CPAN
return "@a";
},
PrintConvInv => '$val',
},
0x0107 => { Name => 'WB_RGBLevels', Format => 'float', Count => 3 },
0x0108 => 'SensorWidth',
0x0109 => 'SensorHeight',
0x010a => 'SensorLeftMargin', #1
0x010b => 'SensorTopMargin', #1
0x010c => 'ImageWidth',
0x010d => 'ImageHeight',
0x010e => { #1
Name => 'RawFormat',
# 1 = raw bit mask 0x5555 (>1 mask 0x1354)
# >2 = compressed
# 5 = non-linear
PrintConv => { #PH
0 => 'Uncompressed', #https://github.com/darktable-org/darktable/issues/7308
1 => 'RAW 1', #? (encrypted)
2 => 'RAW 2', #? (encrypted)
3 => 'IIQ L', # (now "L14", ref IB)
# 4?
5 => 'IIQ S',
6 => 'IIQ Sv2', # (now "S14" for "IIQ 14 Smart" and "IIQ 14 Sensor+", ref IB)
8 => 'IIQ L16', #IB ("IIQ 16 Extended" and "IIQ 16 Large")
},
},
0x010f => {
Name => 'RawData',
Format => 'undef', # (actually 2-byte integers, but don't convert)
Binary => 1,
IsImageData => 1,
PutFirst => 1,
Writable => 0,
Drop => 1, # don't copy to other file types
},
0x0110 => { #1
Name => 'SensorCalibration',
SubDirectory => { TagTable => 'Image::ExifTool::PhaseOne::SensorCalibration' },
},
0x0112 => {
Name => 'DateTimeOriginal',
Description => 'Date/Time Original',
Format => 'int32u',
Writable => 0, # (don't write because this is an encryption key for RawFormat 1 and 2)
Priority => 0,
Shift => 'Time',
Groups => { 2 => 'Time' },
Notes => 'may be used as a key to encrypt the raw data', #1
ValueConv => 'ConvertUnixTime($val)',
ValueConvInv => 'GetUnixTime($val)',
PrintConv => '$self->ConvertDateTime($val)',
PrintConvInv => '$self->InverseDateTime($val)',
},
0x0113 => 'ImageNumber', # (NC)
0x0203 => { Name => 'Software', Format => 'string' },
0x0204 => { Name => 'System', Format => 'string' },
# 0x020b - int32u: 0,1
# 0x020c - int32u: 1,2
# 0x020e - int32u: 1,3
0x0210 => { # (NC) (used in linearization formula - ref 1)
Name => 'SensorTemperature',
Format => 'float',
PrintConv => 'sprintf("%.2f C",$val)',
PrintConvInv => '$val=~s/ ?C//; $val',
},
0x0211 => { # (NC)
Name => 'SensorTemperature2',
Format => 'float',
PrintConv => 'sprintf("%.2f C",$val)',
PrintConvInv => '$val=~s/ ?C//; $val',
},
0x0212 => {
Name => 'UnknownDate',
Format => 'int32u',
Groups => { 2 => 'Time' },
# (this time is within about 10 minutes before or after 0x0112)
Unknown => 1,
Shift => 'Time',
ValueConv => 'ConvertUnixTime($val)',
ValueConvInv => 'GetUnixTime($val)',
PrintConv => '$self->ConvertDateTime($val)',
PrintConvInv => '$self->InverseDateTime($val)',
},
# 0x0213 - int32u: 96,160,192,256,544 (same as 0x0101)
# 0x0215 - int32u: 4,5
# 0x021a - used by dcraw
0x021c => { Name => 'StripOffsets', Binary => 1, Writable => 0 },
0x021d => 'BlackLevel', #1
# 0x021e - int32u: 1
# 0x0220 - int32u: 32
# 0x0221 - float: 0-271
0x0222 => 'SplitColumn', #1
0x0223 => { Name => 'BlackLevelData', Format => 'int16u', Count => -1, Binary => 1 }, #1
# 0x0224 - int32u: 1688,2748,3372
0x0225 => {
Name => 'PhaseOne_0x0225',
Format => 'int16s',
Count => -1,
Flags => ['Unknown','Hidden'],
PrintConv => \&Image::ExifTool::LimitLongValues,
},
0x0226 => {
Name => 'ColorMatrix2',
Format => 'float',
Count => 9,
PrintConv => q{
my @a = map { sprintf('%.3f', $_) } split ' ', $val;
return "@a";
},
PrintConvInv => '$val',
},
# 0x0227 - int32u: 0,1
# 0x0228 - int32u: 1,2
# 0x0229 - int32s: -2,0
0x0267 => { #PH
Name => 'AFAdjustment',
Format => 'float',
},
0x022b => { #PH
Name => 'PhaseOne_0x022b',
( run in 1.364 second using v1.01-cache-2.11-cpan-39bf76dae61 )