Posted on 2005-10-18 11:53:54-07 by exiftool in response to 1190
Re: Does exiftool needs some special start-up init?
Hi Thorsten,

The incorrect aperture is definitely because of the comma instead of the decimal in the number. I'm not sure about the shutter speed, but it could be the same problem.

Actually, I'm not sure how ExifTool works at all with commas in the numbers. As far as I know, this is not standard Perl. ExifTool uses the following standard regular expression to test for a floating point number:

/^([+-]?)(?=\d|\.\d)\d*(\.\d*)?([Ee]([+-]?\d+))?$/

This C++ version of Perl seems to have some odd peculiarities. Maybe we should discuss these problems via email rather than in this forum since they probably aren't of interest to many others.

Direct Responses: 1195 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.