FAQ FAQ  Forum Search   Events   Register Register  Login Login

Lens Information in Sony Alpha JPG and ARW files

Author
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Topic: Lens Information in Sony Alpha JPG and ARW files
    Posted: 25 October 2011 at 21:40
Lens Information in Sony Alpha JPG and ARW files

Besides the "normal" Exif information, such as shutterspeed, focal length and aperture, the image files from Sony Alpha cameras contain additional information about the lens used:

(1) Sony Makernotes tag 0xB027 - Lens-ID (Exiftool Sony:LensType)
  • written by ALL Sony Alpha DSLR/SLT/ILCA cameras with A-Mount (Groups I, II and III) and NEX/ILCE cameras with E-mount (Group IV)
  • this tag contains the Lens-ID number as received from the mounted A-mount lens
  • the A100 reports the same lens-id also in Minolta Makernotes 0x010C tag
  • for the E-mount lenses (NEX/ILCE) this tag appears to have been "abandoned", always being reported as 65535
  • several programs (Sony Image Data Converter, Lightroom, Alphalensinfo, Exiftool) have a built-in or external Lookup-table, providing the correct lens description/specification for each Lens-ID for all known Sony and Minolta lenses, e.g.
    39   = Minolta AF 28-75mm F2.8 (D)
    45   = Carl Zeiss Planar T* 85mm F1.4 ZA
    46   = Carl Zeiss Vario-Sonnar T* DT 16-80mm F3.5-4.5 ZA
  • as the initial Sony lenses were more or less identical to their Minolta predecessors, they report the same Lens-ID, e.g. both the Minolta AF DT 18-70mm and the Sony DT 18-70mm lens report Lens-ID=40.
  • however, many lens-ID numbers are also re-used by third-party lenses (Sigma, Tamron, Tokina etc.), resulting in ambiguous Lens-IDs, where the same Lens-ID may be reported by lenses with very different specifications, e.g.:
    24   = Minolta AF 24-105mm F3.5-4.5 (D)
    24.5 = Sigma 18-200 F3.5-6.3 DC
    24.6 = Tamron SP AF 28-75mm F2.8 XR Di (IF) Macro
  • if the image file has been edited (Photoshop etc.) the Makernotes may have been discarded and the Lens-ID information will not be present anymore in the image file

(1b) Sony Makernotes, various tags/offsets - Lens-ID for E-mount (Exiftool Sony:LensType2)
  • written by all Sony Alpha NEX/ILCE cameras with E-mount (Group IV)
  • this tag contains a Lens-ID number as received from the mounted E-mount lens
  • The Sony-made E-mount lenses give a LensType2 number of 32xxx, which corresponds, with a constant offset, to their VX product numbers
  • 3rd-party E-mount lenses usually give LensType2 = '0', except for Zeiss Batis giving 49216 and 49217
  • At least the following LensType2 tags have been identified in the Sony Makernotes (Exiftool names):
    1. CameraSettings3 0x03f7 - only for NEX-3/5/5C/C3/VG10E
    2. Tag9050 0x0107 - for all other NEX/ILCE
    3. Tag940c 0x0009 - for all other NEX/ILCE
    CameraSettings3 0x03f7 and Tag940c 0x0009 report non-zero values for LA-EAx and Metabones Smart adapters.
  • as far as known, only Exiftool, and possibly the Sony software, can make use of this LensType2 number
  • if the image file has been edited (Photoshop etc.) the Makernotes may have been discarded and the Lens-ID information will not be present anymore in the image file

(2)   Sony Makernotes tag 0xB02A (Exiftool Sony:LensSpec)
  • written by A700 and newer, including all NEX/ILCE (Groups II, III and IV), including NEX (i.e. all, except the A100), based on info reported by the lens to the camera
  • lenses released before the A700 do not report the required info to the camera, and this tag will then contain all zero's
  • for newer lenses this tag contains:
          - lens name prefix, such as "DT" or "E"
          - minimum focal length
          - maximum focal length
          - max. aperture at minimum focal length
          - max. aperture at maximum focal length
          - lens name suffix, such as ZA, G, SSM, SAM, Macro
  • see http://www.dyxum.com/dforum/the-lens-information-different-from-lensid_topic37682.html
  • if the image file has been edited (Photoshop etc.) the Makernotes may have been discarded and this information will not be present anymore in the image file

(3)   Exif 2.3 tag 0xA432 LensSpecification (Exiftool Exif:LensInfo)
(4)   Exif 2.3 tag 0xA434 LensModel (Exiftool Exif:LensModel)

  • written by cameras released mid-2010 and later (Group III and IV), writing Exif-2.3 compatible files, i.e. A33/A55/A560/A580 and later
  • (3) Exif:LensInfo consists of 4 numbers, e.g. "70 300 4.5 5.6":
          - minimum focal length
          - maximum focal length
          - max. aperture at minimum focal length
          - max. aperture at maximum focal length
  • (4) Exif:LensModel contains a text string with the name/model of the lens, e.g. "70-300mm F4.5-5.6 G SSM"
  • the content of these tags is determined by the camera-firmware, and appears to be based on (2) Sony:LensSpec if available, otherwise on (1) Sony:LensType and using a lookup-table with the data of the original Minolta/Sony lenses
  • the contents of (3) and (4) will therefore be correct for:
          - newer lenses with correct data in (2) Sony:LensSpec
          - older Minolta/Sony lenses as the correct data will be in the lookup-table
  • the contents of (3) and (4) may be incorrect with older third-party lenses which re-use a Minolta Lens-ID, because the camera will write the data of the original Minolta lens (from the Lookup-table) to (3) and (4) !!!
  • even if the image file has been edited (Photoshop etc.) and the Makernotes have been discarded, this Exif information should still be present in the image file (unless you have chosen to remove all Exif)
  • for 3rd-party lenses that do not provide LensSpec info and that do not re-use an existing Minolta/Sony Lens-ID number, (3) LensInfo will NOT be written and (4) LensModel will be written as "----"

(5 )   XMP-aux-LensInfo (Exiftool XMP:LensInfo)
(5b)   XMP-exifEX-LensSpecification (Exiftool XMP:LensInfo)
(6 )   XMP-aux-Lens (Exiftool XMP:Lens)
(6b)   XMP-exifEX-LensModel (Exiftool XMP:LensModel)
(7)   XMP-aux-LensID (Exiftool XMP:LensID)

  • these fields are NOT written by the Camera, but by programs such as Alphalensinfo, Lightroom, Exiftool etc.
  • (5) and (5b) consist of 4 numbers, identical to (3) Exif:LensInfo
  • (6) and (6b) contain a text string with the name/model of the lens, identical to (4) Exif:LensModel
  • (7) XMP:LensID contains the LensID number, copied from (1) (not from (1b)!)
  • Alphalensinfo determines the lens name to be written to (6) based on (1), (2) and a lookup-table lenses.txt / mylenses.txt
  • Lightroom 3.x determines (??) or merely copies the contents of (3) and (4) to (5) and (6) respectively (??)

(8)   DNG Specification tag 0xC630 (Exiftool Exif:DNGLensInfo)
  • this field is NOT written by the Camera, but may be used by some programs
  • (8) Exif:DNGLensinfo consists of 4 numbers, similar to Exif:LensInfo (3)

Lens Information as written by different Groups of A-mount and E-mount cameras
--------------------------------------------------------------------------------------------
¦ Group ¦ Start   ¦ Model    ¦ Exif ¦ RAW     ¦ 0xB027   ¦ 0xB02A   ¦ 0xA432   ¦ 0xA434    ¦
¦       ¦ Date    ¦ e.g.     ¦      ¦        ¦ Sony     ¦ Sony     ¦ Exif2.3 ¦ Exif2.3   ¦
¦       ¦        ¦          ¦      ¦        ¦ LensType ¦ LensSpec ¦ LensInfo ¦ LensModel ¦
¦       ¦        ¦          ¦      ¦        ¦ (1)      ¦ (2)      ¦ (3)      ¦ (4)       ¦
¦------------------------------------------------------------------------------------------¦
¦ A-mount: DSLR-, SLT-, ILCA-                                                              ¦
¦------------------------------------------------------------------------------------------¦
¦ I     ¦ 2006-05 ¦ A100     ¦ 2.21 ¦ ARW 1.0 ¦ yes      ¦ no       ¦ no       ¦ no        ¦
¦------------------------------------------------------------------------------------------¦
¦ II    ¦ 2007-09 ¦ A700     ¦ 2.21 ¦ ARW 2.0 ¦ yes      ¦ yes      ¦ no       ¦ no        ¦
¦------------------------------------------------------------------------------------------¦
¦ III   ¦ 2010-09 ¦ A55/A580 ¦ 2.3 ¦ ARW 2.2 ¦ yes      ¦ yes      ¦ yes      ¦ yes       ¦
¦       ¦ 2011-09 ¦ A77V     ¦      ¦ ARW 2.3 ¦ yes      ¦ yes      ¦ yes      ¦ yes       ¦
¦------------------------------------------------------------------------------------------¦
¦------------------------------------------------------------------------------------------¦
¦ E-mount: NEX-, ILCE-                                                                     ¦
¦------------------------------------------------------------------------------------------¦
¦ IV    ¦ 2010-06 ¦ NEX-3/5 ¦ 2.3 ¦ ARW 2.2 ¦ yes*     ¦ yes      ¦ yes      ¦ yes       ¦
¦       ¦ 2011-09 ¦ NEX-7    ¦      ¦ ARW 2.3 ¦ yes*     ¦ yes      ¦ yes      ¦ yes       ¦
--------------------------------------------------------------------------------------------
* E-mount lenses on NEX/ILCE always give LensType=65535, but they ALSO give a LensType2 number.
* A-mount lenses on NEX/ILCE via Sony LA-EAx adapters give their normal LensType value.

Group I   = DSLR-A100
Group II = DSLR-A200/A230/A290/A300/A330/A350/A380/A390/A450/A500/A550/A700/A850/A900
Group III = DSLR-A560/A580, SLT-A33/A35/A37/A55V/A57/A58/A65V/A77V/A99V, ILCA-77M2
Group IV = all NEX- and ILCE- models


Edited by JosR - 13 August 2015 at 17:29
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
 



Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2011 at 21:40
Lens Information for different Categories of lenses

When looking at the lens information in Sony JPG/ARW files for a variety of lenses, one can identify several "Categories" of lenses.
Below some examples of the Lens Information as reported by Exiftool (no Printconv) for several lenses on a DSLR-A580:

(Category A) recent Sony lenses, e.g. Sony 70-300mm F4.5-5.6 G SSM:
  • (1) Sony:LensType = 52
  • (2) Sony:LensSpec = 00 70 300 4.5 5.6 09   (i.e. correct and complete LensSpec data)
  • (3) Exif:LensInfo = 70 300 4.5 5.6
  • (4) Exif:LensModel = "70-300mm F4.5-5.6 G SSM"

(Category B1) older (pre A700) Sony lens, e.g. Zeiss vario-Sonnar T* DT 16-80mm F3.5-4.5 ZA:
  • (1) Sony:LensType = 46
  • (2) Sony:LensSpec = 00 0 0 0 0 00       (i.e. no LensSpec data)
  • (3) Exif:LensInfo = 16 80 3.5 4.5
  • (4) Exif:LensModel = "DT 16-80mm F3.5-4.5 ZA"

(Category B2) Minolta lenses, e.g. Minolta AF 24-105mm F3.5-4.5 (D):
  • (1) Sony:LensType = 24
  • (2) Sony:LensSpec = 00 0 0 0 0 00        (i.e. no LensSpec data)
  • (3) Exif:LensInfo = 24 105 3.5 4.5
  • (4) Exif:LensModel = "24-105mm F3.5-4.5"

(Category C) "new" third-party lens, reporting correct LensSpec, e.g. Sigma 10-20mm F3.5 EX DC HSM:
  • (1) Sony:LensType = 128                  (ambiguous)
  • (2) Sony:LensSpec = 00 10 20 3.5 0 00    (correct LensSpec data)
  • (3) Exif:LensInfo = 10 20 3.5 3.5
  • (4) Exif:LensModel = "10-20mm F3.5"

(Category C2) "new" third-party lens, reporting correct LensSpec, AND re-using a Sony Lens-ID, e.g. Tamron SP 70-300mm F4-5.6 Di USD:
  • (1) Sony:LensType = 52                    (originally used by Sony 70-300mm F4.5-5.6 G SSM)
  • (2) Sony:LensSpec = 00 70 300 4 5.6 00    (correct LensSpec data)
  • (3) Exif:LensInfo = 70 300 4 5.6          (correct based on LensSpec, not on Lens-ID)
  • (4) Exif:LensModel = "70-300mm F4-5.6"    (correct based on LensSpec, not on Lens-ID)

(Category D) third-party lens, reporting NO LensSpec, AND re-using a Minolta/Sony Lens-ID, e.g. Sigma 70-300mm F4-5.6 APO Macro:
  • (1) Sony:LensType = 25611 (ambiguous LensType, originally used by Minolta AF 75-300mm F4.5-5.6)
  • (2) Sony:LensSpec = 00 0 0 0 0 00          (no LensSpec data)
  • (3) Exif:LensInfo = 75 300 4.5 5.6        (data of original Minolta lens)
  • (4) Exif:LensModel = "75-300mm F4.5-5.6"   (data of original Minolta lens)

(Category E) third-party lens, reporting NO LensSpec and NOT re-using a Minolta/Sony Lens-ID, e.g Tamron SP AF 10-24mm F3.5-4.5 Di II LD Aspherical IF:
  • (1) Sony:LensType = 255             (never used by Minolta/Sony)
  • (2) Sony:LensSpec = 00 0 0 0 0 00  (no LensSpec data)
  • (3)                                 (absent - not written)
  • (4) Exif:LensModel = "----"

Remarks:
- A100 images will only contain (1)
- images from Group II cameras will only contain (1) and (2)
- only A33/A55/A560/A580 and newer (Group III and IV) images will contain (3) and (4)
- the info in (3) and (4) for third-party lenses (Category D and E) may be incorrect or absent
- Metabones Canon EF to E-mount Smart adapters provide LensSpec of Canon lens, and LensType=Canon-ID+fixed-offset

Lens Information written by Group III or IV cameras for different Categories of lenses
-----------------------------------------------------------------------------------------------
¦ Group III: DSLR, SLT and ILCA A-mount cameras                                              ¦
-----------------------------------------------------------------------------------------------
¦     ¦               ¦ Sony              ¦ Sony     ¦ Exif2.3 ¦ Exif2.3   ¦ tested        ¦
¦ Cat ¦ Lens           ¦ 0xB027            ¦ 0xB02A   ¦ 0xA432   ¦ 0xA434    ¦ with e.g.      ¦
¦     ¦               ¦ LensType          ¦ LensSpec ¦ LensInfo ¦ LensModel ¦               ¦
¦---------------------------------------------------------------------------------------------¦
¦ A   ¦ Sony lenses    ¦ new numbers:      ¦ full     ¦ correct data        ¦ Sony 70-300    ¦
¦     ¦ since 2007     ¦ 48 and higher     ¦          ¦ from LensSpec        ¦ Sony 28-75     ¦
¦---------------------------------------------------------------------------------------------¦
¦ B1 ¦ Sony lenses    ¦ Minolta numbers, ¦ empty    ¦ correct data        ¦ Sony 18-70     ¦
¦     ¦ before 2007    ¦ some new numbers ¦          ¦ from Lookup-table    ¦ Sony 16-80     ¦
¦---------------------------------------------------------------------------------------------¦
¦ B2 ¦ Minolta lenses ¦ Minolta numbers   ¦ empty    ¦ correct data        ¦ Minolta 24-105 ¦
¦     ¦               ¦                   ¦          ¦ from lookup-table    ¦ Minolta 17-35 ¦
¦---------------------------------------------------------------------------------------------¦
¦ C   ¦ 3rd-party lens ¦ Minolta/Sony nrs. ¦ partly, ¦ correct data        ¦ Sigma 10-20    ¦
¦     ¦ "new"          ¦ or own numbers    ¦ full     ¦ from LensSpec        ¦ Tamron 18-270 ¦
¦---------------------------------------------------------------------------------------------¦
¦ D   ¦ 3rd-party lens ¦ re-using Minolta/ ¦ empty    ¦ data of Minolta lens ¦ Sigma 70-300   ¦
¦     ¦ "old"          ¦ Sony numbers      ¦          ¦ from Lookup-table    ¦ Sigma 28-105   ¦
¦---------------------------------------------------------------------------------------------¦
¦ E   ¦ 3rd-party lens ¦ non-Minolta/Sony ¦ empty    ¦ absent   ¦ ----      ¦ Tamron 10-24   ¦
¦     ¦ "old"          ¦ numbers           ¦          ¦          ¦           ¦               ¦
-----------------------------------------------------------------------------------------------
¦ Group IV: NEX and ILCE E-mount cameras                                                     ¦
-----------------------------------------------------------------------------------------------
¦ F   ¦ Sony           ¦ 65535             ¦ full     ¦ correct data        ¦ E 18-55mm      ¦
¦     ¦ E-mount lenses ¦                   ¦          ¦ from LensSpec        ¦ F3.5-5.6 OSS   ¦
¦---------------------------------------------------------------------------------------------¦
¦ G   ¦ 3rd party      ¦ 65535             ¦ partly/ ¦ correct data        ¦ Sigma DN       ¦
¦     ¦ E-mount lenses ¦                   ¦ full     ¦ from LensSpec        ¦ Zeiss Touit    ¦
¦---------------------------------------------------------------------------------------------¦
¦ H   ¦ A-mount lenses ¦ as A-E above      ¦ as A-E   ¦ as A-E above        ¦               ¦
¦     ¦ w Sony adapter ¦                   ¦ above    ¦                      ¦               ¦
¦---------------------------------------------------------------------------------------------¦
¦ I   ¦ Canon EF lens ¦ Canon ID +        ¦ partly/ ¦ correct data        ¦               ¦
¦     ¦ w Metabones    ¦ fixed offset      ¦ full     ¦ from LensSpec        ¦               ¦
¦---------------------------------------------------------------------------------------------¦
¦ J   ¦ MF/other lenses¦ 65535             ¦ empty    ¦ absent   ¦ ----      ¦               ¦
¦     ¦ w other adapter¦                   ¦          ¦          ¦           ¦               ¦
-----------------------------------------------------------------------------------------------


Edited by JosR - 13 August 2015 at 17:54
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2011 at 21:41
Lens information as used by some programs

Sony Image Data Lightbox / Image Data Converter
For displaying lens names, IDC:
  1. uses (2) Sony:LensSpec if available, otherwise
  2. uses (1) Sony:LensType (Lens-ID) with lookup-table

==> IDC will usually display correct lens information for all Sony JPG and ARW files for all Minolta and Sony lenses.
However, for newer Sony lenses (LensType > 47) on the A100, "unknown lens" will be displayed.
For "Category D" lenses the info of the original Minolta lens will be displayed, which is probably not correct.
For "Category E" lenses, "unknown lens" will be displayed.

Regarding the Lookup-table used by IDC:
This Lookup-table is located in:
C:\Program Files (x86)\Sony\Image Data Converter\Image Data Converter Ver. 4.0\LensTable.xml

This table lists all Minolta and Sony lenses until Lens-ID=47, i.e. only those lenses released before the A700.
All newer Sony lenses are supposedly assumed to provide their info via the LensSpec tag.
This is fine for all cameras, except for the A100, which does not have this tag!
Indeed, when putting one of the newer Sony lenses, with Lens-ID > 47, on the A100, Sony IDC reports "unknown lens".
If you want IDC to show the name of a newer lens also for the A100, you will have to manually add an entry for it in the LensTable.xml file, e.g.:
          <key>55</key><string>DT 18-55mm F3.5-5.6 SAM</string>
Similarly, if you want IDC to display the correct name for a Category D or E lens, you can edit the LensTable.xml file accordingly.

Adobe Lightroom
For displaying lens names, Lightroom:
  1. uses (6) XMP:Lens if available (e.g. written by Alphalensinfo), otherwise
  2. uses (4) Exif:LensModel if available (e.g. from newer cameras), otherwise
  3. ARW only, except A100: uses (2) Sony:LensSpec if available, otherwise
  4. ARW only, except A100: uses (1) Sony:LensType with Lookup-table if availabe, otherwise
  5. uses (3) Exif:LensInfo if available, otherwise
  6. uses (5) XMP:LensInfo

Note: In Lightroom 4.0 and 4.1 the order of the first two Lens Information tags was changed, which caused problems when also using Alphalensinfo.
In Lightroom 4.2, this was changed back to the "normal" order.

==> For Sony Alpha image files directly from the camera:
- ARW files: LR will show lens information based on (4) Exif:LensModel (new cameras) or (2) LensSpec or (1) LensType, but NOT for A100 ARW files
- JPG files: LR will ONLY show lens information for A33/A55/A560/A580 and newer (Group III and IV), based on (4) Exif:LensModel
The displayed info will probably be incorrect or missing for "Category D or E" lenses, e.g. "----".

It would appear that Lightroom, when writing XMP or exporting, always attempts to write a complete set of lens information comprising Exif tags (3) and (4) as well as the corresponding XMP tags (5) and (6).
However, when exporting from Lightroom (or editing/saving with Photoshop) the Sony Makernotes will be discarded, and consequently there will be NO (1)LensType and (2)LensSpec tags in the exported or saved file!

Regarding the difference between ARW files and JPG files:
this should be considered a BUG, because both JPG and ARW files directly from the camera contain identical Sony Makernotes (1) and (2) !

Also, displaying "----" as LensModel could be considered a bug, as apparently no validity check is performed on the contents of this tag.


Alphalensinfo
See Identifying lenses in Lightroom with AlphaLensInfo
Alphalensinfo reads (1) Sony:LensType and (2) Sony:LensSpec from the image files. It then uses a built-in or external (lenses.txt) lookup-table to find the corresponding lens name/model and writes this to (6) XMP:Lens.
For ARW files it writes XMP sidecar files, and does not modify the original ARW file.
For ambiguous Sony:LensType ID's, it also takes the used focal length and aperture into account, to try to determine the correct lens.
To make Alphalensinfo produce the best/correct results for your images, edit your own "mylenses.txt" file, so that only the lenses you actually own or have used will be selected.
If you happen to have multiple (older) third-party lenses reporting the same Lens-ID, you have a problem . . .

Notes:
  • IMPORTANT: Before running Alphalensinfo, read the instructions, especially if your images are already in Lightroom !!
  • Obviously, if in your image files the Sony Makernotes are missing or corrupted, Alphalensinfo will be "Unable to find lens information."
    However, if you know, in some other way, which lens was used, you can force Alphalensinfo to write the lens-name for that lens by using the -l option.
  • A580 with Sigma 10-20mm lens (with Lens-ID=128): even though (2) Sony:LensSpec correctly indicates 10-20mm F3.5, Alphalensinfo, using built-in lenstable, still selects the Tamron 18-200 from the list of lenses with Lens-ID=128 !
    I think if valid LensSpec data is available, it should have priority over Lens-ID, especially if the Lens-ID is known to be ambiguous.
  • Also, Alphalensinfo uses an "AF" prefix for Sony lenses, which I think is NOT CORRECT! Nowhere on any Sony website, in any Sony brochure, or in Image Data Converter, is this "AF" prefix used (nor are "(D)" or "APO" suffixes used for Sony lenses).
    This may also cause problems in Lightroom (with lens-correction modules, or when filtering on lens), because the Alphalensinfo-generated lens-name will be different from the Exif:LensModel written by the newer cameras.
    To have AlphaLensInfo write lens-names corresponding exactly to the Sony IDC / LensSpec names, you can use the list of Sony lenses as provided some posts further down.


Edited by JosR - 13 August 2015 at 18:48
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2011 at 21:41
How to make Lightroom show the correct lens name ?

For images directly from the camera, Lightroom (all versions) will show:
---------------------------------------------------------------------------------------------
¦ Camera ¦ Lens    ¦                     Lightroom will show                                ¦
¦ Group ¦ Cat.    ¦ for JPG files                   ¦ for ARW files                        ¦
¦-------------------------------------------------------------------------------------------¦
¦ I      ¦ All     ¦ no lens info                    ¦ no lens info                         ¦
¦-------------------------------------------------------------------------------------------¦
¦ II     ¦ A       ¦ no lens info                    ¦ correct lens info (LensSpec)        ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ B       ¦ no lens info                    ¦ correct lens info (LensType+table)   ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ C       ¦ no lens info                    ¦ correct lens info (LensSpec)        ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ D       ¦ no lens info                    ¦ INcorrect lens info (LensType+table) ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ E       ¦ no lens info                    ¦ no lens info                         ¦
¦-------------------------------------------------------------------------------------------¦
¦ III    ¦ A, B, C ¦ correct lens info (LensModel)   ¦ correct lens info (LensModel)        ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ D       ¦ INcorrect lens info (LensModel) ¦ INcorrect lens info (LensModel)      ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ E       ¦ "----" (LensModel)              ¦ "---" (LensModel)                    ¦
¦-------------------------------------------------------------------------------------------¦
¦-------------------------------------------------------------------------------------------¦
¦ IV     ¦ E-Mount ¦ correct lens info (LensModel)   ¦ correct lens info (LensModel)        ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ A-Mount ¦               as for Group III, Cat A-E above                         ¦
¦        ¦----------------------------------------------------------------------------------¦
¦        ¦ MF/other¦ "----" (LensModel)              ¦ "---" (LensModel)                    ¦
---------------------------------------------------------------------------------------------

Using AlphaLensInfo, you can write XMP:Lens to ALL your Sony JPG and ARW files.
Provided you have prepared a correct and unambiguous "mylenses.txt" for all the lenses you ever used on your Sony Alpha cameras, this will result in Lightroom showing the correct lens name for all your images using the AlphaLensInfo-written XMP:Lens, (with the exception of LR4.0/4.1 with images from Group III cameras).
However, depending on the camera and the lenses you own, it might be sufficient to run AlphaLensInfo only on a subset of your images:
  • Camera Group I: Sony A100 and Minolta 7D and 5D
    ALL JPG and ARW files: ==> use Alphalensinfo to write (6) XMP:Lens
    This will work for all Lightroom versions.
  • Camera Group II: from A700 until mid-2010
    ALL JPG and ARW files: ==> use Alphalensinfo to write (6) XMP:Lens
    (although you could exclude ARW files for Category A, B and C lenses, where LR already shows correct lens information)
    This will work for all Lightroom versions.
  • Camera Group III: A33/A55/A560/A580 and newer
    These cameras write Exif:LensModel for all lenses, but its contents are incorrect for Cat. D and E third-party lenses
    Cat. A, B and C lenses: Lightroom (all versions) already shows correct lens information based on Exif:LensModel.
    Using AlphalensInfo is not needed, but will work, except for LR4.0/4.1.
    Category D and E lenses:
    - Lightroom 2.x, 3.x, 4.2+: all JPG and ARW files: ==> use Alphalensinfo to write (6) XMP:Lens
    - Lightroom 4.0/4.1: use e.g. ExifTool to
    - ==> remove the incorrect Exif:LensModel, and then use Alphalensinfo to write (6) XMP:Lens
    - ==> or overwrite Exif:LensModel with the correct lens name



Edited by JosR - 13 August 2015 at 18:53
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2011 at 21:42
Exiftool for viewing and writing lens information

Exiftool is a very powerful program that allows you to view and modify or write all kinds of Exif, IPTC and XMP data.
Here, I only show you some examples of using Exiftool to view and possibly write (Sony) Lens information.
Be careful - you do this at your own risk . . .

Viewing lens information present in JPG or ARW files
Exiftool from version 8.68 can read (and write) ALL lens information tags discussed above.
The following command will show the contents of these tags, if present:

exiftool.exe -G1 -Exif:LensInfo# -Exif:LensModel# -Exif:DNGLensInfo# -Minolta:LensType# -Sony:LensType# -Sony:LensType -Sony:LensSpec# -Sony:LensSpec -XMP:LensInfo# -XMP:Lens# -XMP:LensID -Composite:LensID [filename]

The Composite:LensID is Exiftools guess of the lens used, based on LensSpec, max-aperture and focal-length, in case of ambiguous LensType.

Note that the trailing "#" of a tag indicates that the "raw" value of that tag will be displayed.
Otherwise, Exiftool will apply a "print-conversion" to convert the raw value into a more understandable format, e.g.:

-Sony:LensType#     52
-Sony:LensType       Sony 70-300mm F4.5-5.6 G SSM (SAL70300G)

-Sony:LensSpec#     00 70 300 4.5 5.6 09
-Sony:LensSpec       70-300mm F4.5-5.6 G SSM

You can also simply use:
   exiftool.exe -G1 -a -*lens* [filename]

As alternative to Alphalensinfo
Exiftool can conditionally, based on Lens-ID, write XMP:Lens or Exif:LensModel for selected lenses.
For example, if you would like to write XMP:Lens only to the images where you used an old "Category D" lens with (ambiguous) Lens-ID=25611, you could execute a command like:
     exiftool.exe -XMP:Lens="Sigma 70-300mm F4-5.6 APO Macro" -if "$Sony:LensType# eq 25611" *.JPG
This command will test all JPG files in the current directory, and update only the ones having Lens-ID=25611.
Obviously, this will not work if in your image files the Sony Makernotes are missing or corrupt.

Creating XMP sidecar files with ExifTool
If you don't want to touch the ARW files, you can have Exiftool write XMP sidecar files:
   Exiftool.exe -XMP:Lens="Samyang 8mm F3.5" [files.ARW] -srcfile %d%f.XMP

Exiftool as a complete replacement for AlphalensInfo
Before writing any lens information, it is always a good idea to first have Exiftool show you which lenses it thinks you used
(nothing will be written to your image files):
   Exiftool.exe -Composite:LensID [your image files] > lenslist.txt

This will create a list with the lens names for your image files. Check the lens names in lenslist.txt to see if they are correct / as you want them.
If the names reported are OK with you, you can use ExifTool to autmatically write these lens names to XMP:Lens or Exif:LensModel:

JPG files:
   Exiftool.exe "-Composite:LensID>XMP:Lens" [your_images.JPG]
or
   Exiftool.exe "-Composite:LensID>Exif:LensModel" [your_images.JPG]

ARW files: modifying the ARW files: same command as for the JPG files
or
ARW files: creating XMP sidecar files:
   Exiftool.exe "-Composite:LensID>XMP:Lens" [files.ARW] -o %f.XMP

Lightroom will now show you the Composite:LensID names using these Exif:LensModel or XMP:Lens tags.

Using your own lens names
The idea is simple: if you do not like the names in Exiftools Composite:LensID list, you make your own list.
The place to do this is Exiftools configuration file ".ExifTool_config" which should be placed in the same directory as Exiftool.exe.
The format for this configuration file is as follows:

%Image::ExifTool::UserDefined = (
    'Image::ExifTool::Composite' => {
        MyLensType => {
            Require => 'LensType',
            PrintConv => {
            14 => '100-400mm F4.5-6.7',
            24 => '24-105mm F3.5-4.5',
            28 => '100mm F2.8 Macro',
            38 => '17-35mm F2.8-4',
            40 => 'DT 18-70mm F3.5-5.6',
            46 => 'DT 16-80mm F3.5-4.5 ZA',
            52 => '70-300mm F4.5-5.6 G SSM',
            59 => '28-75mm F2.8 SAM',
            128 => '10-20mm F3.5',
            25531 => '28-105mm F4-5.6',
            25611 => '70-300mm F4-5.6 Macro',
            },
        },
    },
);
1; #end

The numbers are the LensType numbers of your lenses, the names between the quotes you can edit to your own liking.

In the Exiftool commands you now have to use your own defined "MyLensType" instead of Composite:LensID.
JPG files:
   Exiftool.exe "-MyLensType>XMP:Lens" [your_images.JPG]
or
   Exiftool.exe "-MyLensType>Exif:LensModel" [your_images.JPG]

ARW files: modifying the ARW files: same command as for the JPG files
or
ARW files: creating XMP sidecar files:
   Exiftool.exe "-MyLensType>XMP:Lens" [files.ARW] -o %f.XMP

If you have lenses that share the same lens-ID:
Usually, Exiftool's Composite:LensID will correctly identify these lenses, based on e.g. LensType, LensSpec, focal length and maximum aperture.
The first method above with the default names will then probably work fine.
(That is, provided your lenses are all listed. If not, report your lens to Phil Harvey.)
The method with your own list will not work, because you can only define one lens name for a certain LensType.

Category D and E lenses and Sony IDC
If you would also want Sony Image Data Converter to display the correct lens information (and not the info of the original Minolta lens with this Lens-ID, or "unknown lens"), you could also write LensSpec:
     exiftool.exe -Sony:LensSpec#="00 70 300 4.0 5.6 60" -XMP:Lens="Sigma 70-300mm F4-5.6 APO Macro" -if "$Sony:LensType# eq 25611" *.JPG
Instead of "75-300mm F4.5-5.6", IDC will now display "70-300mm F4-5.6 Macro".
(the last "60" in the LensSpec indicates "Macro", LensSpec does not have an option to specify "APO")
This will not work for A100 files, as the Sony:LensSpec does not exist for the A100.
Again, this will not work if in your image files the Sony Makernotes are missing or corrupt.


Edited by JosR - 13 August 2015 at 18:57
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
analytical View Drop Down
Senior Member
Senior Member

Joined: 30 January 2007
Country: United States
Location: Texas
Status: Offline
Posts: 3069
Post Options Post Options   Quote analytical Quote  Post ReplyReply Direct Link To This Post Posted: 28 February 2012 at 20:24
Moderator: How about pinning this or link into Learning or articles
12mi SW of Glen Rose,TX
photos
equipment
 



Back to Top
analytical View Drop Down
Senior Member
Senior Member

Joined: 30 January 2007
Country: United States
Location: Texas
Status: Offline
Posts: 3069
Post Options Post Options   Quote analytical Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2012 at 13:36
A bit of additional information on non-Sony lenses and lensspec.

In this case a Tamron 18-270mm f3.5-5.6 Di II PZD.   Unlike the Sigma lens your tested, this one does write the first byte of lensspec as 01 allowing the camera to identify it an aspc only lens. (A900 does switch to apsc-size mode automatically.)

[ExifTool]   - ExifTool Version Number   : 8.83

[MakerNotes] 0xb027 Lens Type     : 57
[MakerNotes] 0xb02a Lens Spec     : 01 18 270 3.5 6.3 00
[Composite]          - Lens ID    : 57

This lens was not in the lenstype list yet, so no way for print conversion of lenstype to work. lensspec did convert "correctly", using the Sony "DT" rather tha Tamron "Di II"

print conversion
[MakerNotes] 0xb027 Lens Type : Sony DT 50mm F1.8 SAM (SAL50F18) or Tamron Lens
[MakerNotes] 0xb02a Lens Spec : DT 18-270mm F3.5-6.3
[Composite]      - Lens ID    : Sony DT 50mm F1.8 SAM (SAL50F18) or Tamron Lens


Added: later version of exiftool does correctly identify the lens in composite tags print conversion.

print conversion
[Composite]      - Lens ID    : Tamron 18-270mm F3.5-6.3 Di II PZD



Edited by analytical - 04 October 2012 at 15:39
12mi SW of Glen Rose,TX
photos
equipment
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2012 at 07:38
Known Sony:LensSpec (tag 0xB02A) (2) prefixes and suffixes
(Originally from: http://www.dyxum.com/dforum/the-lens-information-different-from-lensid_topic37682.html)

The Sony:LensSpec tag consists of 8 bytes:

          bits                  hex    meaning
byte 1:   0 0 0 0 0 0 0 0       00     (no prefix)    A-Mount, Full-frame
          0 0 0 0 0 0 0 1       01     DT ...        A-Mount, APS-C
          0 0 0 0 0 0 1 0       02     FE ...        E-Mount, Full-frame
          0 0 0 0 0 0 1 1       03     E ...          E-Mount, APS-C
          0 0 0 0 1 0 0 0       08     ... II
          0 0 0 0 1 0 0 1       09     DT ... II
          0 0 1 0 0 0 0 0       20     ... LE
          0 1 0 0 0 0 0 0       40     PZ ...
          1 0 0 0 0 0 0 0       80     ... OSS
          1 0 0 0 0 0 1 1       83     E ... OSS
          1 0 1 0 0 0 1 1       a3     E ... OSS LE
          1 1 0 0 0 0 1 1       c3     E PZ ... OSS

byte 2+3: min. focal length      00 16 = 16mm

byte 4+5: max. focal length      01 05 = 105mm
                            or   00 00 for fixed focal length lens

byte 6:   max.apert. min.focal   35     = F3.5

byte 7:   max.apert. max.focal   56     = F5.6
                            or   00     for constant max. aperture lens

byte 8:   0 0 0 0 0 0 0 0       00     (no suffix)
          0 0 0 0 0 0 0 1       01     SSM
          0 0 0 0 0 0 1 0       02     SAM
          0 0 0 0 0 1 0 0       04     ZA
          0 0 0 0 0 1 0 1       05     ZA SSM
          0 0 0 0 1 0 0 0       08     G
          0 0 0 0 1 0 0 1       09     G SSM
          0 0 1 0 0 0 0 0       20     STF
          0 1 0 0 0 0 0 0       40     Reflex
          0 1 1 0 0 0 0 0       60     Macro
          0 1 1 0 0 0 1 0       62     Macro SAM
          1 0 0 0 0 0 0 0       80     Fisheye

Exiftool uses the "hex"-column values as listed above.
For the focal lengths, it combines bytes 2+3 into 1 value, and similarly bytes 4+5.
For the aperture values it uses a decimal point.
For example, for three recent Sony lenses:
   Exiftool.exe -LensSpec# [filename]
will show the hex values:
Lens Spec    : 01 16 105 3.5 5.6 00
Lens Spec    : 00 70 300 4.5 5.6 09
Lens Spec    : 01 30 0 2.8 0 62

   Exiftool.exe -LensSpec [filename]
will show the corresponding interpreted names:
Lens Spec    : DT 16-105mm F3.5-5.6
Lens Spec    : 70-300mm F4.5-5.6 G SSM
Lens Spec    : DT 30mm F2.8 Macro SAM

The same format is used for writing LensSpec.

Edited by JosR - 04 November 2013 at 22:17
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2012 at 07:47
List of Sony A-mount and E-mount lenses

The following is a list of all known Sony Alpha lenses as of July 2015.
# List of Sony Alpha A-mount lenses as of July 2015.
# The below "short" lens names correspond to:
# - the names as shown by Sony Image Data Converter
# - the names as written by A55/A580 and newer to Exif:LensModel
# - the specs/names as defined by Sony Makernotes tag 0xB02A ("LensSpec")
#
# Lens-ID numbers 25571 - 44 are shared with the corresponding Minolta lenses.
# Lens-ID numbers 45 - 70 are Sony-only (but some of them now also used by Tamron...)
#
# The following Sony lenses provide only LensType (Lens-ID):
25571 = 28mm F2.8
25721 = 500mm F8 Reflex
25781 = 16mm F2.8 Fisheye
25791 = 20mm F2.8
20    = 135mm F2.8 [T4.5] STF
24    = 24-105mm F3.5-4.5
28    = 100mm F2.8 Macro
29    = 75-300mm F4.5-5.6
31    = 50mm F2.8 Macro
32    = 300mm F2.8 G                  (replaced by II version: nr. 66)
33    = 70-200mm F2.8 G               (replaced by II version: nr. 67)
40    = DT 18-70mm F3.5-5.6           (discontinued)
41    = DT 11-18mm F4.5-5.6
42    = DT 18-200mm F3.5-6.3
43    = 35mm F1.4 G
44    = 50mm F1.4
45    = 85mm F1.4 ZA
46    = DT 16-80mm F3.5-4.5 ZA
47    = 135mm F1.8 ZA
#
# The following Sony lenses provide LensType AND LensSpec info:
48    = 24-70mm F2.8 ZA SSM [II]      (also II version)
49    = DT 55-200mm F4-5.6            (replaced by SAM version: nr. 56)
50    = DT 18-250mm F3.5-6.3
51    = DT 16-105mm F3.5-5.6
52    = 70-300mm F4.5-5.6 G SSM [II] (also II version)
53    = 70-400mm F4-5.6 G SSM        (replaced by II version: nr. 69)
54    = 16-35mm F2.8 ZA SSM [II]      (also II version)
55    = DT 18-55mm F3.5-5.6 SAM [II] (also II version)
56    = DT 55-200mm F4-5.6 SAM
57    = DT 50mm F1.8 SAM
58    = DT 30mm F2.8 Macro SAM
59    = 28-75mm F2.8 SAM
60    = 24mm F2 ZA SSM
61    = 85mm F2.8 SAM
62    = DT 35mm F1.8 SAM
63    = DT 16-50mm F2.8 SSM
64    = 500mm F4.0 G SSM
65    = DT 18-135mm F3.5-5.6 SAM
66    = 300mm F2.8 G SSM II
67    = 70-200mm F2.8 G SSM II
68    = DT 55-300mm F4.5-5.5 SAM
69    = 70-400mm F4-5.6 G SSM II
70    = 50mm F1.4 ZA SSM

# List of known Sony E-mount lenses as of July 2015.
# These lenses provide full LensSpec info, and always LensType=65535.
# The Sony-made lenses report a unique ID-number in a tag called LensType2.
# The "FE" lenses are full-frame (35mm) format, the "E" lenses are APS-C format,
# but Zeiss Loxia and Batis report only "E" although being full-frame.
# CameraSettings3 0x03f7 and Tag940c 0x0009 report non-zero LensType2 values for
# Sony LA-EAx and Metabones Smart adapters.
#
# LensType2 Name                             Code          LensSpec
#      0    Sigma 19mm F2.8 [EX] DN                        E 19mm F2.8
#      0    Sigma 30mm F2.8 [EX] DN                        E 30mm F2.8
#      0    Sigma 60mm F2.8 DN                             E 60mm F2.8
#      0    Tamron 18-200mm F3.5-6.3 Di III VC             E 18-200mm F3.5-6.3
#      0    Zeiss Touit 12mm F2.8                          E 12mm F2.8
#      0    Zeiss Touit 32mm F1.8                          E 32mm F1.8
#      0    Zeiss Loxia 35mm F2                            E 35mm F2        (MF, full-frame but not FE !)
#      0    Zeiss Loxia 50mm F2                            E 50mm F2        (MF, full-frame but not FE !)
# 49216    Zeiss Batis 25mm F2                            E 25mm F2        (full-frame but not FE !)
# 49217    Zeiss Batis 85mm F1.8                          E 85mm F1.8      (full-frame but not FE !)

#      1    Sony LA-EA1                                    A->E adapter, APS-C
#      2    Sony LA-EA2                                    A->E adapter, APS-C w. SLT 15-point PDAF and motor
#      3    Sony LA-EA3                                    A->E adapter, Full-frame
#      6    Sony LA-EA4                                    A->E adapter, Full-frame w. SLT 15-point PDAF and motor
#     44    Metabones Canon EF Smart Adapter Mark I or II
#     78    Metabones Canon EF Smart Adapter Mark III or IV
#    234    Adapter only - no lens attached               (seen with LA-EA4 and Metabones Smart IV)
#    239    Metabones Canon EF Speed Booster

# 32784    Sony E 16mm F2.8                 SEL16F28      E 16mm F2.8
# 32785    Sony E 18-55mm F3.5-5.6 OSS      SEL1855       E 18-55mm F3.5-5.6 OSS
# 32786    Sony E 55-210mm F4.5-6.3 OSS     SEL55210      E 55-210mm F4.5-6.3 OSS
# 32787    Sony E 18-200mm F3.5-6.3 OSS     SEL18200      E 18-200mm F3.5-6.3 OSS
# 32788    Sony E 30mm F3.5 Macro           SEL30M35      E 30mm F3.5 Macro          (also seen without 'Macro')
# 32789    Sony E 24mm F1.8 ZA              SEL24F18Z     E 24mm F1.8 ZA
# 32790    Sony E 50mm F1.8 OSS             SEL50F18      E 50mm F1.8 OSS
# 32791    Sony E 16-70mm F4 ZA OSS        SEL1670Z      E 16-70mm F4 ZA OSS
# 32792    Sony E 10-18mm F4 OSS            SEL1018       E 10-18mm F4 OSS           (also seen F4-4)
# 32793    Sony E PZ 16-50mm F3.5-5.6 OSS   SELP1650      E PZ 16-50mm F3.5-5.6 OSS
# 32794    Sony FE 35mm F2.8 ZA             SEL35F28Z     FE 35mm F2.8 ZA
# 32795    Sony FE 24-70mm F4 ZA OSS        SEL2470Z      FE 24-70mm F4 ZA OSS
# 32797    Sony E 18-200mm F3.5-6.3 OSS LE SEL18200LE    E 18-200mm F3.5-6.3 OSS LE (also often LensType2=0)
# 32798    Sony E 20mm F2.8                 SEL20F28      E 20mm F2.8
# 32799    Sony E 35mm F1.8 OSS             SEL35F18      E 35mm F1.8 OSS
# 32800    Sony E PZ 18-105mm F4 G OSS      SELP18105G    E PZ 18-105mm F4 G OSS
# 32802    Sony FE 90mm F2.8 Macro G OSS    SEL90M28G     FE 90mm F2.8 Macro G OSS
# 32803    Sony E 18-50mm F4-5.6            SEL1850       E 18-50mm F4-5.6           (only with ILCE-3500)
# 32807    Sony E PZ 18-200mm F3.5-6.3 OSS SELP18200     E PZ 18-200mm F3.5-6.3 OSS
# 32808    Sony FE 55mm F1.8 ZA             SEL55F18Z     FE 55mm F1.8 ZA
# 32810    Sony FE 70-200mm F4 G OSS        SEL70200G     FE 70-200mm F4 G OSS
# 32811    Sony FE 16-35mm F4 ZA OSS        SEL1635Z      FE 16-35mm F4 ZA OSS
# 32813    Sony FE 28-70mm F3.5-5.6 OSS     SEL2870       FE 28-70mm F3.5-5.6 OSS
# 32814    Sony FE 35mm F1.4 ZA             SEL35F14Z     FE 35mm F1.4 ZA
# 32815    Sony FE 24-240mm F3.5-6.3 OSS    SEL24240      FE 24-240mm F3.5-6.3 OSS
# 32816    Sony FE 28mm F2                  SEL28F20      FE 28mm F2
# 32817    Sony FE PZ 28-135mm F4 G OSS     SELP28135G    FE PZ 28-135mm F4 G OSS

# 32826    Sony FE 21mm F2.8                             FE 21mm F2.8               (SEL28F20 + SEL075UWC)
# 32827    Sony FE 16mm F3.5 Fisheye                      FE 16mm F3.5 Fisheye       (SEL28F20 + SEL057FEC)



Edited by JosR - 13 August 2015 at 20:44
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2012 at 19:44
Some Camera and Lens related Tags

Hex ID Exif / XMP name        Exiftool Group / Name          Exiv2 0.22
------ ---------------------- ----------------------------- ---------------------------
1 0x010C Makernotes Minolta      Minolta MakerNotes:LensType   Exif.Minolta.LensID
1 0xB027 Makernotes Sony        Sony     MakerNotes:LensType   Exif.Sony1.LensID
1b various Makernotes Sony        Sony     Makernotes:LensType2 -
2 0xB02A Makernotes Sony        Sony     MakerNotes:LensSpec   -
0x010F Exif Make               IFD0     Exif:Make             Exif.Image.Make
0x0110 Exif Model              IFD0     Exif:Model            Exif.Image.Model
8 0xC630 Exif LensInfo           IFD0     Exif:DNGLensInfo      Exif.Image.LensInfo
0xA430 Exif CameraOwnerName    ExifIFD Exif:OwnerName        Exif.Photo.CameraOwnerName
0xA431 Exif BodySerialNumber   ExifIFD Exif:SerialNumber     Exif.Photo.BodySerialNumber
3 0xA432 Exif LensSpecification ExifIFD Exif:LensInfo        Exif.Photo.LensSpecification
0xA433 Exif LensMake           ExifIFD Exif:Lensmake        Exif.Photo.LensMake
4 0xA434 Exif LensModel          ExifIFD Exif:LensModel        Exif.Photo.LensModel
0xA435 Exif LensSerialNumber   ExifIFD Exif:LensSerialNumber Exif.Photo.LensSerialNumber
0xFDEA Exif Lens (Ad.Cam.Raw) ExifIFD Exif:Lens             -
5    -    xmp LensInfo           XMP-aux       XMP:LensInfo     Xmp.aux.LensInfo
5b   -    xmp LensSpecification XMP-exifEX    XMP:LensInfo     ?
6    -    xmp Lens               XMP-aux       XMP:Lens        Xmp.aux.Lens
6b   -    xmp LensModel          XMP-exifEX    XMP:LensModel    ?
     -    xmp LensModel          XMP-Microsoft XMP:LensModel    Xmp.MicrosoftPhoto.LensModel
7    -    xmp LensID             XMP-aux       XMP:LensID       Xmp.aux.LensID



Edited by JosR - 13 August 2015 at 20:56
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
JosR View Drop Down
Groupie
Groupie

Joined: 21 August 2007
Country: Netherlands
Location: Netherlands
Status: Offline
Posts: 100
Post Options Post Options   Quote JosR Quote  Post ReplyReply Direct Link To This Post Posted: 13 August 2015 at 21:27
E-mount (protocol) version in Camera and Lens/Adapter

In addition to the LensSpec and LensType2 ID-numbers, the E-mount cameras and lenses also appear to provide some kind of E-mount "version number".

This info is found near the LensType2 tags that also indicate adapter-info:
- CameraSettings3: 0x03f7 (LensType2), 0x03f3 (E-mountVersionCamera) and 0x03f0 (E-mountVersionLens)
- Tag940c:            0x0009 (LensType2), 0x000b (E-mountVersionCamera) and 0x000d (E-mountVersionLens)

These version numbers are output by Exiftool 9.80 and newer, and the following numbers have been observed:

E-mountVersionCamera: for different cameras / firmware versions:
        1.00 - 1.04: seen in CameraSettings3 0x03f3 for NEX-3/5/5C/C3/VG10E
        1.14: NEX-5N/5R/6/7/F3/VG20E/VG30E/VG900 v1.00, NEX-5N v1.01, NEX-3N v0.90
        1.20: NEX-3N v1.00, NEX-6 v1.01, NEX-7 v1.02, ILCE-3000 v1.00, ILCE-3500 v1.01
        1.30: NEX-5T v1.00, NEX-6 v1.02/v1.03, NEX-7 v1.03
        1.31: ILCE-5000 v0.90/v1.00/v1.10, ILCE-7/7R v0.95/v1.00/v1.01
        1.40: ILCE-QX1 v1.00, ILCE-5100/6000 v1.00/v1.10, ILCE-7/7R v1.02/v1.10, ILCE-7S v1.00
        1.50: ILCE-7M2 v1.00/v1.10/v1.20/1.21, ILCE-7/7R/7S v1.20, ILCE-7R v2.00, ILCE-7RM2 v0.01, v1.00

E-mountVersionLens: for different lenses/adapters:
        0.00: Unknown lenses/adapters
        1.00: SEL18200LE, Sigma DN, Tamron Di III, Zeiss Touit
        1.07: (Ver.01) original E-lenses (SEL16F28, SEL18200, SEL1855, SEL24F18Z, SEL30M35, SEL50F18, SEL55210) and LA-EA1
        1.08: LA-EA1 (Ver.02), Metabones Smart
        1.14: LA-EA2
        1.20: (Ver.02) firmware-updated E-lenses (SEL1855, SEL24F18Z, SEL30M35, SEL50F18, SEL55210),
               newer E-lenses (SEL1018, SEL1670Z, SEL20F28, SEL35F18, SELP1650, SELP18105G, SELP18200) or LA-EA3
        1.30: LA-EA4
        1.31: original FE-lenses (SEL2470Z, SEL2870, SEL35F28Z, SEL55F18Z), SEL1850
        1.35: SEL70200G, SEL55210 (Black?, seen with ILCE-3500)
        1.40: SEL1635Z, SEL24240, SEL35F14Z, SELP28135G, Zeiss Loxia
        1.50: SEL28F20, SEL90M28G, Zeiss Batis


Edited by JosR - 13 August 2015 at 21:34
Minolta Dynax 7 + 24-105/3.5-4.5 + 100-400/4.5-6.7 APO + 100/2.8 Macro D + 17-35/2.8-4
Sony A580 + Zeiss 16-80/3.5-4.5 + Sigma 10-20/3.5, Sony A850 + SAL-28-75 + SAL-70-300-G
Back to Top
Dyxum main page >  Forum Home > Dyxum Community > Knowledge Base

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.

Monitor calibration strip

Dyxum.com - Home of the alpha system photographer

In memory of Cameron Hill - brettania

Feel free to contact us if needed.