Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

More Exif Metadata

Comments

4 comments

  • imaginatian
    Markus,

    All the standard EXIF data is there. However not everything is searchable. The only way I'm aware of to make use of it is to change to the "List" view. If you right click on the column headings you will get a long drop down list of fields that can be displayed. You will need to scroll down thhe Exif section and there will be a field for Lens - select this. Now you have a column of Lens information. You can drag and drop the columns into whatever order you prefer. If you click on a column header you can sort the images by Lens. Click again will reverse the order. The exact values for a lens will depend on what your camera puts in the Exif data.

    If you are running on Windows and are a bit more adventurous then the following script should select from the visible images those with a specified lens. In this case it is my 12-60mm lens. You will need to copy this script and save it. Mine is saved in a file called 12-60mm.vbs. Obviously give your script and appropriate name, however the .vbs is mandatory. Sorry if you're on a Mac - I'm sure a similar script is possible but haven't the first clue!


    Option Explicit

    Const kMsgBoxTitle = "Phase One Media Pro"
    Dim app, mediaItems, mediaItem

    Main()
    Sub Main()
    Set app = CreateObject("PhaseOneMediaPro.Application")
    ' get the active catalog
    If (app.Catalogs.count = 0) Then
    MsgBox "Please launch Media Pro.", vbCritical, kMsgBoxTitle
    Else
    Set mediaItems = app.ActiveCatalog.MediaItems
    For Each mediaItem In mediaItems
    If (mediaItem.DeviceInfo.Lens = "12-60 mm") Then
    mediaItem.Selected = True
    Else
    mediaItem.Selected = False
    End If
    Next
    End If
    End Sub

    Under the Scripts menu there is a tools option and under that is a Reveal Scripts Folder option. Select this and click OK. You should now have Windows explorer in a probably empty folder. Create a folder called "Select by Lens" and save your script in this folder. You can make copies of the script for each lens you have, giving them appropriate names.

    Now restart Media Pro - needed as the application only detects new scripts when first started. Now under the Scripts menu you should see a "Personal" option and under this a "Select by Lens" option. Under this will be your new script(s). Select it and your images with that lens should be selected.

    I have other scripts that do similar selections - all you need to do is change the test in the script e.g. to find images with ISO 100 use:
    If (mediaItem.DeviceInfo.ISOSpeed = 100) Thenor to find images taken at f4.0 use:
    If (mediaItem.DeviceInfo.Aperture = "f4.0") Thenor to find a shutter speed of 1/100th use
    If (mediaItem.DeviceInfo.ShutterSpeed = "1/100") Then
    Note that these test will depend on what you camera stores in the Exif data e.g. some cameras may store 1/100th as 0.01. If you use multiple cameras then you might need multiple versions of the scripts.

    Hope this helps,

    Ian
    0
  • Markus Stoeckler
    Ian,
    thank you for your answer and your famous script! Yes, I worked with the list view but my problem is, that the lens field is empty. I work only with raw files and use bodies from different manufacturers (Nikon, Sony, Canon). None of their lens information are shown in the MP1 list view. C1 (6.2.1) lists the exif information correct (other DAM-software too). Your script works fine but only with fields that are filled.
    Generally I am looking for a way to expand the information panel with exif fields that are not listed in the standard. I want to make searches like "all shots in May 2011 made with Nikon D2x and lens 12-24".

    Thank you again for your help!
    Markus

    Win 7 Prof, 64 Bit
    0
  • Markus Stoeckler
    Hi,
    additionally I have to say, that EM2 shows the lens information in the info panel and the field is filled with the correct exif data.

    Markus
    0
  • Permanently deleted user

    Hi, I'm looking to extract a specific data, which is call 'distance to focus' I can only have it with some lens model. I'm not able to see it inside C1 ?

    I would really like to have a script that would save this 'hidden' data to any export I do from C1.

    Can anybody help me ?

    thanks

    0

Post is closed for comments.