Mawg Mawg - 7 months ago 15
PHP Question

How to get camera serial number from EXIF?

How to get camera serial number from EXIF ?




Edit: some folk think that not all (or even many) cameras store serial number, but I tried four from different manufacturers and they do. So, let's just rephrase it as "How to get camera serial number from EXIF if there is any?"

Answer

First the camera would have to write its serial number to the EXIF data. I don't know of any that do.

But in any event, you'll have to check with the documentation of the specific camera in question to see if it writes this value and where it writes it. There's no standard place for it, since it's not a standard thing to write (such as Manufacturer or Model).

You can see a lot about the EXIF specifications here.

Comments