Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 12-03-2004, 06:43 AM
Piercey Offline
forum loafer
 
Join Date: Dec 2004
Posts: 14
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
Reply With Quote
  #2  
Old 12-03-2004, 08:53 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
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 />"; 
* *}
}
?>
That should print out all available fields that you can use.

// punk
__________________
icq: 66760929
Reply With Quote
  #3  
Old 12-03-2004, 02:35 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
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....
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 11:40 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs