|
#1
|
|||
|
|||
|
Extra EXIF Tags for version 1.4
I wanted a bit more EXIF info, so I added the following tags. First find the line;
Code:
$iso = pullout($exif_result['SubIFD']['ISOSpeedRatings']); // not working apparently Code:
$orientation = $exif_result['SubIFD']['Orientation'];
$maxAperature = $exif_result['SubIFD']['MaxAperatureValue'];
$exposureProgram = $exif_result['SubIFD']['ExposureProgram'];
$brightnessValue = $exif_result['SubIFD']['BrightnessValue'];
$exposureBias = $exif_result['SubIFD']['ExposureBiasValue'];
$meteringMode = $exif_result['SubIFD']['MeteringMode'];
$equivFocalLength = $exif_result['SubIFD']['unknown:a405'];
if( $equivFocalLength != "" ) $equivFocalLength .= " mm";
$tpl = str_replace("<EXIF_ORIENTATION>",$orientation,$tpl);
$tpl = str_replace("<EXIF_MAX_APERATURE>",$maxAperature,$tpl);
$tpl = str_replace("<EXIF_EXPOSURE_PROGRAM>",$exposureProgram,$tpl);
$tpl = str_replace("<EXIF_BRIGHTNESS_VALUE>",$brightnessValue,$tpl);
$tpl = str_replace("<EXIF_EXPOSURE_BIAS>",$exposureBias,$tpl);
$tpl = str_replace("<EXIF_METERING_MODE>",$meteringMode,$tpl);
$tpl = str_replace("<EXIF_EQUIV_FOCAL_LENGTH>",$equivFocalLength,$tpl);
Orientation - For cameras that support, horizontal or vertical Max Aperature - Of the lens you are using Exposure Program - Stuff like manual, aperature priority, etc Brightness value - The EV as indicated by the meter Exposure Bias - Number of stops +/- that you set Metering Mode - spot, honeycomb, stuff like that Equiv focal length - Very few cameras support, minolta does. This is the 35mm equiv focal length. For example, because of the digital sensor size, 100mm on my lens on my digital SLR is the same as 150mm on a film SLR. Nice for those of us that still think in film terms ![]() Enjoy
|
|
#2
|
|||
|
|||
|
thanks!
![]() how is it possible to change it into an addon? |
|
#3
|
|||
|
|||
|
Good idea. I will look at the code around that and see if I can convert it to an addon
![]() I will also be putting it in the 1.5 release, but an addon will hold us over until then. |
|
#4
|
|||
|
|||
|
Hello
Hello, i have an nikon D70, but i can't get all exif informations...
juste :NIKON D70 - Exposition: 1/2 sec - Ouverture: f 8 - Focale: 60 mm - Flash: Pas enclenche Could you help please? thanks Cedric |
|
#5
|
|||
|
|||
|
Re: Hello
Quote:
|
|
#6
|
|||
|
|||
|
Thankyou, it work well now, but just one thing
fot aperture tag with <LANG_EXPOSURE_TIME> instead of <EXIF_EXPOSURE_TIME> i get : Exposure: 1/400 sec How to do same with EXTRA_EXIF tags? did someone have an idea? thankyou Cedric ps: did someone know what tag NIKON use for iso? with Picture project, i get iso value, why can i get this value with pixelpost/EXIFER? |
|
#7
|
|||
|
|||
|
The extra EXIF tags addon has no LANG modifiers, sorry. It would be easy for you to modify it for your language though, just add the language strings to your language file, look at the EXIF code in index.php and do the same in the addon...
|
|
#8
|
|||
|
|||
|
oki thankyou Rob
Did you have an idea to see what are the variables employed by Nikon D70? i ask for this because in Iviewmediapro or Nikon CApture, i get ISO value, exposure mode,... but i can't get this value in pixelpost.. May be the field name for iso is'nt same on d70 and pixelpost... some idea? (sorry for my bad english speaking, i'm a french, and school is far) |
|
#9
|
|||
|
|||
|
Quote:
Code:
// Uncomment the following line to see all available EXIF Values //echo "<pre>"; print_r($exif_result); echo"</pre>"; Code:
// Uncomment the following line to see all available EXIF Values echo "<pre>"; print_r($exif_result); echo"</pre>"; Once you have cut and pasted data for a couple of pictures, make sure you change the code back
|
| Post Reply |
| Thread Tools | |
|
|