After editing a JPEG file in iPhoto 08, the EXIF data is not found by
EXIF.py. The data is still there, but the EXIF header is shifted further
down the header package and EXIF.py only seems to look at a fixed location
in the file. (In the specific case of iPhoto IPTC data is shifted before
regular EXIF data and EXIF.py thus fails to "find" the EXIF.) I believe
this also causes iPhoto-edited EXIF to fail to be found on some web sites,
suggesting they also use EXIF.py
The fix is to use a more complex parse of the EXIF JPEG file headers and/or
APP segments. I don't have the docs handy to specify how this needs to be
done. An image is attached that illustrates this.
Nobody/Anonymous
None
None
Public
|
Date: 2009-08-30 15:26 A similar problem occurs when pyexiv2 is used to add a comment to an image. |
|
Date: 2009-03-13 01:46 I have a fix. I believe the problem arises if the APP2 segment comes before |
| Filename | Description | Download |
|---|---|---|
| EXIF.py | Fixed version of EXIF.py as per patch above | Download |
| ihaveexif.jpg | Image with EXIF data that is not detected/parsed | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 317613: EXIF.py | 2009-03-13 01:46 | g501 |
| priority | 5 | 2009-03-12 14:12 | g501 |
| File Added | 317533: ihaveexif.jpg | 2009-03-12 14:11 | g501 |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use