ExifTool Forum

General => Metadata => Topic started by: greybeard on April 10, 2019, 02:43:49 PM

Title: FujiFilm Focus Mode 2
Post by: greybeard on April 10, 2019, 02:43:49 PM
Under Focus Mode 2 we currently have three potential values:

    0.1 => {
        Name => 'FocusMode2',
        Mask => 0x000000ff,
        PrintConv => {
            0 => 'AF-M',
            1 => 'AF-S',
            2 => 'AF-C',
        },

When the cameras (such as X-T20 and X-T30) shoot in full auto mode then AF-S is reported as 0x11 not 0x01 and we end up with an Unknown Focus Mode.

One solution to this would be to change the code to:

    0.1 => {
        Name => 'FocusMode2',
        Mask => 0x0000000f,
        PrintConv => {
            0 => 'AF-M',
            1 => 'AF-S',
            2 => 'AF-C',
        },

The other solution is to keep the mask the same but add an extra value:

    0.1 => {
        Name => 'FocusMode2',
        Mask => 0x000000ff,
        PrintConv => {
            0 => 'AF-M',
            1 => 'AF-S',
           17 => 'AF-S (Auto)',
            2 => 'AF-C',
        },
    },
Title: Re: FujiFilm Focus Mode 2
Post by: Phil Harvey on April 11, 2019, 07:43:59 AM
Thanks!

Is it only AF-S that may have this auto mode?  If so, then your second idea makes sense.  Otherwise I can decode the auto flag as a separate tag, but then what tag name to use?

- Phil
Title: Re: FujiFilm Focus Mode 2
Post by: greybeard on April 12, 2019, 04:23:56 AM
Yes - I went through the same line of thinking - it appears that AF-S is the only possibility in auto mode (I haven't been able to force anything else).

We already have the PictureMode tag that shows full auto has been selected.