Hi all,
I'm wondering if the below indices are correct (EOS 700D):
140: FocusDistanceUpper
142: FocusDistanceLower
295: LensType
Peter
Hi Peter,
Thanks for prompting me to look at this. Many of the locations are the same as for the 650D. Here is what I have so far:
# Canon camera information for 700D (MakerNotes tag 0x0d) (ref PH)
%Image::ExifTool::Canon::CameraInfo700D = (
%binaryDataAttrs,
FORMAT => 'int8u',
FIRST_ENTRY => 0,
PRIORITY => 0,
IS_SUBDIR => [ 0x390 ],
GROUPS => { 0 => 'MakerNotes', 2 => 'Camera' },
NOTES => 'CameraInfo tags for the EOS 700D.',
0x03 => { %ciFNumber },
0x04 => { %ciExposureTime },
0x06 => { %ciISO },
0x1b => { %ciCameraTemperature }, # (1DX/5DmkIII + 0)
0x23 => { %ciFocalLength }, # (1DX/5DmkIII + 0)
0x7d => { # (1DX/5DmkIII + 3)
Name => 'CameraOrientation',
PrintConv => {
0 => 'Horizontal (normal)',
1 => 'Rotate 90 CW',
2 => 'Rotate 270 CW',
},
},
0x8c => { # (1DX + 3)
Name => 'FocusDistanceUpper',
%focusDistanceByteSwap,
},
0x8e => { # (1DX + 3)
Name => 'FocusDistanceLower',
%focusDistanceByteSwap,
},
0xbc => { # (1DX + 7)
Name => 'WhiteBalance',
Format => 'int16u',
SeparateTable => 1,
PrintConv => \%canonWhiteBalance,
},
0xc0 => { # (1DX + 7)
Name => 'ColorTemperature',
Format => 'int16u',
},
0xf4 => { # (1DX + 7)
Name => 'PictureStyle',
Format => 'int8u',
Flags => ['PrintHex','SeparateTable'],
PrintConv => \%pictureStyles,
},
0x127 => {
Name => 'LensType',
Format => 'int16uRev', # value is big-endian
SeparateTable => 1,
ValueConvInv => 'int($val)', # (must truncate decimal part)
PrintConv => \%canonLensTypes,
},
0x129 => { %ciMinFocal },
0x12b => { %ciMaxFocal },
0x220 => { # (version 1.1.1/2.1.1)
Name => 'FirmwareVersion',
Format => 'string[6]',
Writable => 0,
RawConv => '$val=~/^\d+\.\d+\.\d+\s*$/ ? $val : undef',
},
0x274 => { # (NC)
Name => 'FileIndex',
Groups => { 2 => 'Image' },
Format => 'int32u',
ValueConv => '$val + 1',
ValueConvInv => '$val - 1',
},
0x280 => { # (NC)
Name => 'DirectoryIndex',
Groups => { 2 => 'Image' },
Format => 'int32u',
ValueConv => '$val - 1',
ValueConvInv => '$val + 1',
},
0x390 => {
Name => 'PictureStyleInfo',
SubDirectory => { TagTable => 'Image::ExifTool::Canon::PSInfo2' },
},
);
- Phil
Hi Phil,
Thanks for the fast reply. Indeed many locations are the same as for the 650D.
Peter