|
#1
|
|||
|
|||
|
exif options
I'm curious what all the exif options that can be displayed? Right now I have
<EXIF_CAPTURE_DATE> <EXIF_CAMERA_MODEL> <EXIF_EXPOSURE_TIME> <EXIF_APERTURE><br> <EXIF_FOCAL_LENGTH> Is there a way I can show what lens I used? Thanks! -Mike |
|
#2
|
||||
|
||||
|
I have tried that without luck.
With exif it pretty much depends on what camera you're using as they are different for each sodding camera, it seems. You can test it yourself, to see what's available. Create a new document. Lets call it exif.php. Code:
<?php
$testimage = "images/animagehere.jpg";
$result = exif_read_data($testimage,0,true);
foreach ($result as $key => $section) {
* *foreach ($section as $name => $val) {
* * * *echo "$key.$name: $val<br />";
* *}
}
?>
// punk
__________________
icq: 66760929 |
|
#3
|
|||
|
|||
|
exifer
Check out exifer. It groks more than PHP's built-in exif module. You can get LongFocalLength and ShortFocalLength and use those to lookup which lens you used.
Of course if you have more than one lens with the same range but different aperture or even brand then you'll need to do a bit more coding.... |
| Post Reply |
| Thread Tools | |
|
|