Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
01-07-2019, 01:12 AM - 5 Likes   #1
Pentaxian
Class A's Avatar

Join Date: Aug 2008
Location: Wellington, New Zealand
Posts: 10,601
Lens Information in EXIF data

Dear Pentax,

could you please include all lens-related information in the standard EXIF fields, instead of just the maker notes, so that we no longer have to run commands like the following
exiftool -tagsFromFile @ '-MakerNotes:LensType>EXIF:LensMake' filename.dng
in order have software like Capture One or sites like Flickr to show all the lens information?

03-30-2019, 04:55 PM - 1 Like   #2
sbh
Site Supporter
Site Supporter
sbh's Avatar

Join Date: Oct 2012
Photos: Gallery
Posts: 577
Agree. Using Capture one and flickr, there is no lens information. It would be iseful if it was there to work with.
04-01-2019, 04:07 PM   #3
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,735
QuoteOriginally posted by Class A Quote
Dear Pentax,

could you please include all lens-related information in the standard EXIF fields, instead of just the maker notes, so that we no longer have to run commands like the following
exiftool -tagsFromFile @ '-MakerNotes:LensType>EXIF:LensMake' filename.dng
in order have software like Capture One or sites like Flickr to show all the lens information?
Of course, we should also remember that even the information in the MakerNotes is in the form of a numeric code. The actual maker and model names are supplied by the software reading the EXIF, with some variation between tools.


Steve
04-02-2019, 06:44 AM   #4
Forum Member




Join Date: Nov 2018
Posts: 77
Pentax Tags

04-02-2019, 08:36 AM   #5
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,735
QuoteOriginally posted by steephill Quote
ExifTool is unique in publishing their interpretation of the Pentax MakerNotes* to allow a key of sorts into the data stored there and the ExifTool developers' best guesses as to what they represent. Amazingly, the lens list is kept up-to-date and even includes recent non-AF product with KAF2-style mounts offered by Irix.

Implementation of this thread's product suggestion would require the camera body to have a lookup table similar to that packaged into ExifTool to write friendly names into the standard EXIF. It should be noted that manufacturer support for the LensInfo and LensType tags is mixed. For example, Nikon does as Pentax, while Canon fills those fields. Whether Canon supports 3rd-party lenses is unknown, at least to me.


Steve

* MakerNotes is a free-form space with no standard mappings of location or purposes.

Last edited by stevebrot; 04-02-2019 at 09:09 AM.
06-25-2019, 08:38 PM   #6
Otis Memorial Pentaxian
Loyal Site Supporter
RobG's Avatar

Join Date: Dec 2009
Location: Canberra
Photos: Gallery | Albums
Posts: 5,575
It would be great if more software was able to identify the lens from the EXIF data. I use Paintshop Pro and a number of other programs. Few are able to get the lens data.

It would also be nice if Pentax cameras could recognise the focal lengths from the Sigma 8-16 lens.
07-21-2019, 05:24 PM   #7
Site Supporter
Site Supporter
ramseybuckeye's Avatar

Join Date: Apr 2009
Location: Elida, Ohio
Photos: Gallery | Albums
Posts: 10,794
Which additional lens information are you lacking? I use Lightroom and post to Flickr and see the lens name, focal length, and aperture in Lightroom and on Flickr. When I was still using Lightroom 4 some of the newer lenses were not identified. I'm now using Lightroom Classic CC (Standalone) and Lightroom CC, both show up to my newest lens the 55-300 PLM. Viewbug does not show the lens name. I've got an older version of Paintshop Pro on my old PC, I haven't put it on this Mac yet because I rarely used it since it is so slow.
07-21-2019, 05:37 PM   #8
Otis Memorial Pentaxian
Loyal Site Supporter
RobG's Avatar

Join Date: Dec 2009
Location: Canberra
Photos: Gallery | Albums
Posts: 5,575
QuoteOriginally posted by ramseybuckeye Quote
Which additional lens information are you lacking? I use Lightroom and post to Flickr and see the lens name, focal length, and aperture in Lightroom and on Flickr. When I was still using Lightroom 4 some of the newer lenses were not identified. I'm now using Lightroom Classic CC (Standalone) and Lightroom CC, both show up to my newest lens the 55-300 PLM. Viewbug does not show the lens name. I've got an older version of Paintshop Pro on my old PC, I haven't put it on this Mac yet because I rarely used it since it is so slow.
Hi, were you asking me? In the case of the Sigma lens, the K3 stops reporting the focal length below a certain value. As far as I know, the lens name doesn't appear in an image edited with Paintshop Pro (apparently I have version 21 according to the EXIF data). I just checked a photo which I resized with the freeware Irfanview, and the lens name is preserved in the EXIF data. Another photo edited with PSP doesn't show the lens name anymore. Pentax seem to use a "Maker Note" tag called "Lens Type" to record the name of the lens. I suspect that PSP may be dropping all the tags in this category, so having it in the "standard" tags would help.

07-21-2019, 06:23 PM   #9
Site Supporter
Site Supporter
ramseybuckeye's Avatar

Join Date: Apr 2009
Location: Elida, Ohio
Photos: Gallery | Albums
Posts: 10,794
QuoteOriginally posted by RobG Quote
Hi, were you asking me? In the case of the Sigma lens, the K3 stops reporting the focal length below a certain value. As far as I know, the lens name doesn't appear in an image edited with Paintshop Pro (apparently I have version 21 according to the EXIF data). I just checked a photo which I resized with the freeware Irfanview, and the lens name is preserved in the EXIF data. Another photo edited with PSP doesn't show the lens name anymore. Pentax seem to use a "Maker Note" tag called "Lens Type" to record the name of the lens. I suspect that PSP may be dropping all the tags in this category, so having it in the "standard" tags would help.
Not just you in particular Rob, just a general question in the thread. You would think that there would be industry standards on lens reporting tags. Obviously tags are there, but different manufacturers and software developers pick and choose what to use.
07-21-2019, 06:35 PM   #10
Site Supporter
Site Supporter
Larrymc's Avatar

Join Date: Jun 2014
Location: Mississippi, USA
Posts: 3,008
QuoteOriginally posted by Class A Quote
Dear Pentax,

could you please include all lens-related information in the standard EXIF fields, instead of just the maker notes, so that we no longer have to run commands like the following
exiftool -tagsFromFile @ '-MakerNotes:LensType>EXIF:LensMake' filename.dng
in order have software like Capture One or sites like Flickr to show all the lens information?
Have you tried EXIFToolGui to accomplish what you want to do? I do it for everything I post to Flickr nowadays. You can also write a batch file to change the lens information written to Maker Notes. I process with DXO PhotoLab 2.3 and I have to change the Maker Notes Lens data to use DXO's lens corrections for my Sigma 18-200 contemporary and don't have problems wit the process.
07-21-2019, 06:52 PM   #11
Site Supporter
Site Supporter
Larrymc's Avatar

Join Date: Jun 2014
Location: Mississippi, USA
Posts: 3,008
QuoteOriginally posted by RobG Quote
Hi, were you asking me? In the case of the Sigma lens, the K3 stops reporting the focal length below a certain value. As far as I know, the lens name doesn't appear in an image edited with Paintshop Pro (apparently I have version 21 according to the EXIF data). I just checked a photo which I resized with the freeware Irfanview, and the lens name is preserved in the EXIF data. Another photo edited with PSP doesn't show the lens name anymore. Pentax seem to use a "Maker Note" tag called "Lens Type" to record the name of the lens. I suspect that PSP may be dropping all the tags in this category, so having it in the "standard" tags would help.
You can write the information from Maker Notes Lens Type with EXIFToolGui to the EXIF LensModel field very quickly and easily I do it all the time. You can batch write multiple lens at the same time.
07-21-2019, 08:24 PM   #12
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,735
QuoteOriginally posted by RobG Quote
In the case of the Sigma lens, the K3 stops reporting the focal length below a certain value.
The K-3 reports the number returned by the lens.


Steve
07-21-2019, 08:39 PM   #13
Otis Memorial Pentaxian
Loyal Site Supporter
RobG's Avatar

Join Date: Dec 2009
Location: Canberra
Photos: Gallery | Albums
Posts: 5,575
QuoteOriginally posted by Larrymc Quote
You can write the information from Maker Notes Lens Type with EXIFToolGui to the EXIF LensModel field very quickly and easily I do it all the time. You can batch write multiple lens at the same time.
OK, but if Pentax put it in the correct field, nobody would need to do this.

QuoteOriginally posted by stevebrot Quote
The K-3 reports the number returned by the lens.
Meaning that the lens doesn't report the widest setting?
07-21-2019, 09:16 PM   #14
Otis Memorial Pentaxian
Loyal Site Supporter
stevebrot's Avatar

Join Date: Mar 2007
Location: Vancouver (USA)
Photos: Gallery | Albums
Posts: 34,735
QuoteOriginally posted by RobG Quote
OK, but if Pentax put it in the correct field, nobody would need to do this.
Only a numeric code as returned by the lens is written to the makernotes. The camera does not have lookup tables for the lens names and the number means nothing outside of makernotes. This makes sense considering that at best, only contemporary model Pentax models might be included with no 3rd-party lenses. If a tool displays a lens name, it is because it has lookup tables (often from ExifTool) for the numeric code.

A list of known name : number pairs --> https://sno.phy.queensu.ca/~phil/exiftool/TagNames/Pentax.html#LensType

QuoteOriginally posted by RobG Quote
Meaning that the lens doesn't report the widest setting?
What displays in the rear LCD? The same is written to the EXIF as reported by the lens. If the lens does not report its widest setting, there may be an issue with the lens.


Steve
07-21-2019, 10:11 PM   #15
Otis Memorial Pentaxian
Loyal Site Supporter
RobG's Avatar

Join Date: Dec 2009
Location: Canberra
Photos: Gallery | Albums
Posts: 5,575
QuoteOriginally posted by stevebrot Quote
What displays in the rear LCD? The same is written to the EXIF as reported by the lens. If the lens does not report its widest setting, there may be an issue with the lens.
Hi Steve, as far as I know, it's a known problem. It's mentioned in at least one of the reviews:

Sigma 8-16mm F4.5-5.6 DC HSM Lens Reviews - Sigma Lenses - Pentax Lens Review Database

Right at the moment I'm not at home, so I can't test it. I think the lens doesn't return any EXIF data at all if the zoom is at its widest setting (mentioned in the review). I'm pretty sure I purged all the Sigma 8-16 photos I had on Flickr when I cancelled my Pro account.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
customer service, exif, information, information in exif, lens, lens information, metadata, ricoh imaging, suggestion
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need information how to get focus pulse / distance information from camera sliawatimena Welcomes and Introductions 12 01-09-2019 07:31 AM
K-S2 lens information in Image EXIF? ohaya Pentax K-S1 & K-S2 5 05-01-2017 04:00 PM
O-GPS1 and your EXIF data - When the GPS is on, it strips data from the EXIF? Sagitta Troubleshooting and Beginner Help 17 11-23-2016 02:25 AM
Exif data doesn't report manual flash information arnion Troubleshooting and Beginner Help 4 06-12-2015 09:27 PM
Does EXIF data include ISO or Aperture data? Newtophotos Photographic Technique 7 09-04-2013 12:41 PM



All times are GMT -7. The time now is 12:01 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top