Canon digital image from Canon DIGITAL IXUS 100 IS
Extracted with
a) [ExifTool -a -m -u -G ] with ExifTool Ver: 8.72 gives three values for "F Number"
[EXIF] F Number : 9.0
[MakerNotes] F Number : 8.9
[MakerNotes] F Number : 9
---------------------------------------------------------
b) Extracted with (Hex numbers)
ExifTool -a -H Fnumber abc.jpg
0x829d F Number : 9.0
0x0015 F Number : 8.9
0x0006 F Number : 9
----------------------------------------------------
c) using Format File
$Canon:FNumber
Always Gives output value for [MakerNotes] F Number i.e. 9
------------------------------------------------
Question: How can I use "Format File" to extract the first [MakerNotes] F Number value of : 8.9 ?
Andy
Hi Andy,
For tags like this, you must go to the family 4 groups to differentiate them:
> exiftool -fnumber -G4 -a image.jpg
[] F Number : 9.0
[Copy1] F Number : 8.9
[Copy2] F Number : 9
So to extract only the 2nd one:
exiftool -copy1:fnumber image.jpg
or "$copy1:fnumber" in a format file.
- Phil
Hi Phil,
Many thanks for your help.
Andy