04-03-2018 04:48 PM
Hello , I have a suggestion. I just noticed that my Tamron150-600 serial number does not show
up on the photo information. Usually all canon lens serial numbers will show up in the EXIF data. But listen Canon,
your customers typically spend a lot of money on our(Canon) cameras and lens. A lot of money. This Tamron
lens is the only one that is not Canon that I own. That is because I cannot shell out $6000.00. for your lens. It would
be nice if you could post the other guys EXIF info, just because you ARE the better brand. With our equipment getting stolen
as mine has been any little stop or security measure that can nail the thieves helps. Lets unite and be against the thieves and not the competition and the customers. Just a suggestion.
Cheers
04-06-2018 02:00 PM
Mike, I'm not sure if you've ever worked with hexadecimal numbers.
Your serial number of 402a5f in hex would be 4205151 in decimal.
Is that 4205151 the serial number you see printed on the lens?
04-06-2018 02:16 PM - edited 04-06-2018 02:30 PM
@TCampbellwrote:Mike, I'm not sure if you've ever worked with hexadecimal numbers.
Your serial number of 402a5f in hex would be 4205151 in decimal.
Is that 4205151 the serial number you see printed on the lens?
My mistake.... My 24-105 also shows an incorrect hexadecimal number. (I originally thought it was a correct serial number)
I found an online hex convertter: Hexadecimal to Decimal Converter
My EF 24-105mm 4.0L IS USM shows 407782 EXIF data (4224898)?, but has 4070954 for it's serial number.
My EF-S 55-250mm STM shows 300ace EXIF data (3148494)?, but has 080130389 for it's serial number.
My EF 70-200mm 2.8L IS II USM shows 402a5f EXIF data (4205151)?, but has 129952 for it's serial number.
04-06-2018 02:36 PM
@MikeSowsunwrote:
@TCampbellwrote:Mike, I'm not sure if you've ever worked with hexadecimal numbers.
Your serial number of 402a5f in hex would be 4205151 in decimal.
Is that 4205151 the serial number you see printed on the lens?
You are right, I have never worked with them but I just found an online hex encoder. Encode Decode / HexEncode
Am I doing this right?
My EF-S 55-250mm STM shows 300ace EXIF data (333030616365), but has 080130389 for it's serial number.
My EF 24-105mm 4.0L IS USM shows 407782 EXIF data (343037373832), but has 4070954 for it's serial number.
My EF 70-200mm 2.8L IS II USM shows 402a5f EXIF data (343032613566), but has 129952 for it's serial number.
The website you linked is doing something different. It's converting ASCII into hex. E.g. since computers are all based on numbers, everything has to be represented by a number... even text messages are really just stored as numbers. The character sets are based on something called ASCII (an acronym for American Standard Code for Information Interchange).
But that's a system for encoding "text" characters into a numerical representation ... not the same as converting a numerical value from one base to another base.
When I use my hex calcuator and convert 0x300ace (the "0x" prefix is a shorthand for "hex value" and if you see that on a number it means the digits are really base-16 instead of base-10). The number works out to 3148494 in decimal. But that doesn't match your serial number of 080130389.
So I'm not sure where it's gettting that value for a lens serial number ... but it's even more mysterious that one lens gets it right and the others do not.
I would have guessed (but this would be wrong) that maybe since the old EXIF specs seemed to not support lens serial numbers, but the current EXIF specs do support serial numbers... maybe "old" lenses don't bother to send it (since it wasn't in the spec) and "newer" lenses do send it.
Except that hypothesis falls apart becuase your 70-200 f/2.8L version II is a "newer" lens... as is the "STM" lens. But the 24-105 f/4L... those have been around for a while. And yet your 24-105 gets the right number in the field and the other two do not..
Another hypothesis is... there is lots of meta-data that isn't "officially" part of the EXIF spec (or at least did not used to be part of the spec in the past) but that wouldn't stop a company from being able to use it anyway. So possibly it was part of an extension but not really part of the standard. If that's true... then maybe the "newer" lenses have simply changed how they transmit the serial number info and your software doesn't know how to read the new method.
The latest EXIF 2.31 standard now supports things like weather data (ambient temperature, humidity, pressure) and they FINALLY updated the "time" so that it properly supports "time zones" (time zone info was not previously part of the official EXIF standard prior to EXIF 2.31... that was a surprise to me, but I found a blog post on it.)
My 5D IV's most recent firmware update has release notes that said the new firmware also gives the camera support for EXIF 2.31. Of course, the 5D IV doesn't have any weather instruments on it... so it's not like it's actually going to populate the temperature, humidity, etc. But maybe it'll start properly supporting time zones (that was a problem when I shot the last solar eclipse. The science organizations that wanted our image data needed to know the clocks on the cameras were precise to the second (they wanted us to use GPS to set the clocks) and they were also fussy about the time zones. I had to find a program that was able to re-write the time on each image in the original RAW files (normally you never modify the RAW) just so the data could be ingested with correct time encoded because EXIF didn't really support it at that time.
04-06-2018 11:08 AM
@TCampbellwrote:
wrote:Where does the serial number of a Canon lens show up in the Exif data? I've never seen it in any version of DPP, even with my most recently purchased Canon lenses.
I only see the body serial number when I search my EXIF data (inspecting images taken using Canon lenses). Neither Lightroom nor DPP 4 show a serial number for any lens.
EXIF does support having a lens serial number field, but I don't think Canon uses it.
...
Actually, I'm doing some digging into the specs. The ability for EXIF to support lens serial number may actually be a new-ish thing (possibly requiring a more recent EXIF spec.) I'm not certain, but it looks like older EXIF specs may not have even supported lens serial numbers. In any case, I certainly don't see them in the EXIF data for Canon cameras (it doesn't seem to be just 3rd party lenses that are not included.)
I notice some docs mentioning tags that were added in EXIF 2.21 and I don't see lens serial number. The latest spec is 2.31... and the guide I'm looking at underlines what they've either added or updated and it's showing the lens serial number data as being one of those "new" things in the latest spec (or it was updated).
Not an exhaustive search, but at first blush, it looks like the ability to record a lens serial number based on EXIF tags might be new.
Given what Tim's research unearthed, I'd be surprised if many existing lenses even knew how to provide their serial numbers to the camera body.
In that vein, my cameras are able to keep track of AFMA settings for only one lens of each type. That restriction wouldn't be necessary if the cameras could read the lenses' serial numbers.
12/05/2024: New firmware updates are available.
EOS R5 Mark II - Version 1.0.2
09/26/2024: New firmware updates are available.
EOS R6 Mark II - Version 1.5.0
07/01/2024: New firmware updates are available.
04/16/2024: New firmware updates are available.
RF100-300mm F2.8 L IS USM - Version 1.0.6
RF400mm F2.8 L IS USM - Version 1.0.6
RF600mm F4 L IS USM - Version 1.0.6
RF800mm F5.6 L IS USM - Version 1.0.4
RF1200mm F8 L IS USM - Version 1.0.4
Canon U.S.A Inc. All Rights Reserved. Reproduction in whole or part without permission is prohibited.