Hello, I'm new here .
To read EXIF with Python Imaging Library : >>> import Image >>> ouv=Image.open('path_to_your_picture_with_exif_data__jpeg') >>> exifdata=imgExif._getexif() >>> # Here a personnal exemple >>> for keyExif, valueExif in zip(exifdata.keys(), exifdata.values()): ... print keyExif, str(valueExif) ... 36864 0220 37121 37122 (2, 1) 36867 2004:04:12 17:02:53 36868 2004:04:12 17:02:53 37381 (48, 10) 37510 37383 5 37384 0 37385 24 37386 (174, 10) 40962 640 270 OLYMPUS DIGITAL CAMERA 271 OLYMPUS OPTICAL CO.,LTD 272 X200,D560Z,C350Z 274 1 531 2 41992 0 41988 (0, 100) 282 (72, 1) 283 (72, 1) 33434 (10, 1250) 41728 40965 1268 34850 2 40961 1 50341 PrintIM0250� � ����������� ' '�'''^'�'�'�!����� 34855 64 296 2 41987 0 41991 0 33437 (52, 10) 305 v751-81 306 2004:04:12 17:02:53 41993 0 41729 41994 0 41985 0 40960 0100 41990 0 40963 480 41986 0 34665 550 37500 OLYMP4�� L�ldd,�������������SX751[pictureInfo] Resolution=1 [Camera Info] Type=SX751OLYMPUS DIGITAL CAMERA���������a1 ([EMAIL PROTECTED]:P""""""""""""""""""""��|�Fp]R�a�|'� �%� �m�"w�twwww%#%!%!▒V P���1M����]XlYn��: � �yU(b▒ �"����%79�Fffff Here are some details : 1. "ExifVersion : " || str(exifdata[36864]) 2. "DateTimeOriginal : " || str(exifdata[36867]) 3. "DateTimeDigitized : " || str(exifdata[36868]) 4. "DateTime : " || str(exifdata[306]) 5. "ExifImageWidth : " || str(exifdata[40962]) 6. "ExifImageHeight : " || str(exifdata[40963]) 7. "XResolution : " || str(exifdata[282]) 8. "YResolution : " || str(exifdata[283]) 9. "Make : " || str(exifdata[271]) 10. "Model : " || str(exifdata[272]) 11. "MaxApertureValue : " || str(exifdata[37381]) 12. "ImageDescription : " || str(exifdata[270]) 13. "MeteringMode : " || str(exifdata[37383]) 14. "LightSource : " || str(exifdata[37384]) 15. "Flash : " || str(exifdata[37385]) 16. "FlashPixVersion : " || str(exifdata[40960]) 17. "FocalLength : " || str(exifdata[37386]) 18. "ExposureTime : " || str(exifdata[33434]) 19. "FNumber : " || str(exifdata[33437]) 20. "Software : " || str(exifdata[305]) 21. "ExifOffset : " || str(exifdata[34665]) a+ ;) -- Venez faire un tour ici : http://ekd.tolosano.info http://monsitt.irruption.net http://irruption.net/progdudim _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor