Last modified: 2011-04-30 01:21:41 UTC
Created attachment 7573 [details] The subject image I'm doing some evaluation on a closed system and discovered that some EXIF fields are incorrectly analyzed and rejected. Specifically, I have an image (attached) which contains a user note (my abbreviated copyright message, and contains complete GPS information. The Usernote is rejected because it is an ASCII message. Why, when that's exactly what the user note is supposed to be? The GPS Latitude and Longitude are both rejected because the parser is looking for a single RATIONAL number, but the field is actually an array. GSP altitude reference is rejected as a VALUE for unknown reasons. GPS Time Stamp is rejected as an ARRAY, although the date is accepted, which is part of the same array. I am not expert in evaluating these problems and have very primitive debug tools, but I've been able to collect several files of information demonstrating this problem. Attached files are 'out.txt' which is the EXIF data from the subject image output with the file 'phpReadExif.php' run from a command line. The subject image is 'D3Z_0175.jpg', which is my own image, and 'Reject Debug.txt' contains an excerpt from the debug logfile. The image was shot with a Nikon camera and processed with Nikon and Adobe software, but I've tried numerous other Exif readers, all of which correctly parse the file.
Created attachment 7574 [details] The command line output of EXIF data from the subject file
Created attachment 7575 [details] The php file to generate 'out.txt'
Created attachment 7576 [details] Log excerpt of rejected EXIF tags plus tags actually entered
Contact me at indicated email if further information is needed. Thanks! =Mike
Cc:ing Bawolff who's currently working on improving the metadata extraction.
*** This bug has been marked as a duplicate of bug 13172 ***