MakerNotes - fast2 vs fast

Started by TSM, November 07, 2017, 10:40:54 AM

Previous topic - Next topic

TSM

If there are no MakerNotes will fast still be slower than fast2 or is it known early in the file header if there will be any and you have optimised for that.

I have looked though the code and seen the following in Exif.pm, I assume if there is no Exif section then this parser is not run and if no MakerNotes then it does not go any further.


                if ($$tagInfo{MakerNotes}) {
                    # don't parse makernotes if FastScan > 1
                    my $fast = $et->Options('FastScan');
                    last if $fast and $fast > 1;
                    $subdirInfo{MakerNoteAddr} = $valuePtr + $valueDataPos + $base;
                    $subdirInfo{NoFixBase} = 1 if defined $$subdir{Base};
                }

Phil Harvey

If there are no maker notes, then -fast2 should be the same as -fast.

- 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 ($).