Author Topic: Not returning the Shutter Speed in the Custom File Window-I'm making a mistake?  (Read 511 times)

kiwilink

  • Sr. Member
  • **
  • Posts: 401
  • Imatch User since 2006
Can someone tell me what I have done wrong?  I am trying to return the Aperture and Shutter Speed.  I am getting the Aperture but I am not getting a return on the ShutterSpeed. I checked Tag manager and all looks good.  I don't think this has anything to do with the recent change mentioned in the release notes about EXIFTool.

I have attached my variables in the first attachment and what I get as a return on the second attachment in the custom file window.

Thanks you!

Kiwilink

P.S.  I did try this also
 F {File.MD.Composite\Exif-Aperture\Aperture\0}; S{File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0}

and I got back 0.02 on all my images (which is incorrect)

I also tried this with no luck

 F {File.MD.Composite\Aperture\Aperture\0}    {File.MD.Composite\ShutterSpeed\ShutterSpeed\0|Value:formatted}
« Last Edit: October 24, 2020, 09:56:02 PM by kiwilink »

thrinn

  • Hero Member
  • ***
  • Posts: 898
{File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted} works for me and returns e.g. 1/250. The tag name without the Exif- does not work. As explained here, there was a recent change in the Exiftool naming of Composite tag names.
Thorsten
Win 10 / 64, IMatch 2018, IMA

kiwilink

  • Sr. Member
  • **
  • Posts: 401
  • Imatch User since 2006
Thrinn:

Thanks for the response!!  I just tried this

  {File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted}

by itself and I get a return.  However when I add this to it

 F {File.MD.Composite\Aperture\Aperture\0}    I do not get both the Shutter Speed and the Aperture.

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 27474
ExifTool renamed Composite tags in a recent version. You need to use the correct tag names.

Tip: Use the Variable Selector to get the correct variable names (e.g. in the VarToy).

thrinn

  • Hero Member
  • ***
  • Posts: 898
Thrinn:

Thanks for the response!!  I just tried this

  {File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted}

by itself and I get a return.  However when I add this to it

 F {File.MD.Composite\Aperture\Aperture\0}    I do not get both the Shutter Speed and the Aperture.
The Exif- part has also be present for the Aperture, not only for ShutterSpeed. Therefore,
Code: [Select]
F {File.MD.Composite\Exif-Aperture\Aperture\0} {File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted}gives as result:
Code: [Select]
F 5.0 1/1000
Thorsten
Win 10 / 64, IMatch 2018, IMA

loweskid

  • Full Member
  • **
  • Posts: 154
This is what I use....

{File.MD.Composite\Exif-ShutterSpeed\ShutterSpeed\0|value:formatted} sec - <Italic>f</Italic> {File.MD.Composite\Exif-aperture\Aperture\0|value:formatted}

displays e.g.:   1/320 sec - f8.0

Just swap them around if you prefer the aperture before the shutter.

kiwilink

  • Sr. Member
  • **
  • Posts: 401
  • Imatch User since 2006
Dear loweskid:

Thank you very much.  That worked.  I really appreciate it!!

Kiwilink!
« Last Edit: October 25, 2020, 11:12:30 AM by herman »

loweskid

  • Full Member
  • **
  • Posts: 154
Dear loweskid:

Thank you very much.  That worked.  I really appreciate it!!

Kiwilink!

Glad to be of service!

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 27474
I recommend to use Metadata Tag ShortCodes where possible.
This shields your variables from changes in the underlying tag names.

For example: {File.MD.aperture} or {File.MD.shutterspeed}