Skip to content

Wrong Entry in Composite field ‘LensID' and 'LensType' for .ARW RAW-Files #342

@sebkaletta

Description

@sebkaletta

For the Zeiss Touit 32mm F1.8 on Sony E-Mount, the composite fields LensID and LensType get the wrong Lens assigned (Zeiss Touit 12mm F2.8) in .ARW-Files.
I tried with exiftool -ver: 13.32, 13.30, 13.29, 13.25, 13.10, 12.00 and 11.90, with same output.

exiftool pathtoimage/DSC12345.ARW | grep Lens

Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
Lens Spec                       : E 32mm F1.8
Lens Zoom Position              : 0%
Lens Mount 2                    : E-mount
Lens Type 3                     : Zeiss Touit 12mm F2.8
Lens E-mount Version            : 1.40
Lens Firmware Version           : Ver.02.001
Lens Mount                      : E-mount
Lens Format                     : APS-C
Lens Type 2                     : Zeiss Touit 12mm F2.8
Lens Spec Features              : E
Lens Info                       : 32mm f/1.8
Lens Model                      : E 32mm F1.8
Lens ID                         : Zeiss Touit 12mm F2.8

As it is not possible to attach an .ARW, I wanted to convert it into a .JPEG, but turns out it is done correctly there 😄

exiftool pathtoimage/DSC12345.JPEG | grep Lens

Lens Info                       : 32mm f/1.8
Lens Model                      : E 32mm F1.8
Lens                            : E 32mm F1.8
Lens ID                         : Zeiss Touit 32mm F1.8

Hot fix: I got it working for both .ARW and .JPEG by changing Sony.pm:

49201 => 'Zeiss Touit', #JR (lens firmware Ver.02)
49201.1 => 'Zeiss Touit 12mm F2.8', #JR (lens firmware Ver.02)
49201.2 => 'Zeiss Touit 32mm F1.8', #JR (lens firmware Ver.02)    
49201.3 => 'Zeiss Touit 50mm F2.8', #JR (lens firmware Ver.02)

./exiftool pathtoimage/DSC12345.ARW | grep Lens

Lens Type                       : E-Mount, T-Mount, Other Lens or no lens
Lens Spec                       : E 32mm F1.8
Lens Zoom Position              : 0%
Lens Mount 2                    : E-mount
Lens Type 3                     : Zeiss Touit
Lens E-mount Version            : 1.40
Lens Firmware Version           : Ver.02.001
Lens Mount                      : E-mount
Lens Format                     : APS-C
Lens Type 2                     : Zeiss Touit
Lens Spec Features              : E
Lens Info                       : 32mm f/1.8
Lens Model                      : E 32mm F1.8
Lens ID                         : Zeiss Touit 32mm F1.8

But as the .JPEG gets it right even without that change, I guess I am not fixing the underlying problem (Maybe something to do with Lens Firmware (Version: Ver.02.001 instead of Ver.02)? I couldn't find out where the values like '49201' in %sonyLensTypes2 are derived from). I am not sure if i break something else, and I am not able to test with Touit 12 and Touit 50 myself.

Thank you very much for creating and maintaining such a great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions