FujiFilm Focus Mode 2

Started by greybeard, April 10, 2019, 02:43:49 PM

Previous topic - Next topic

greybeard

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',
        },
    },

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

greybeard

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.