Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 10-20-2004, 05:28 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
whack exif

my exif data is far from correct, im assuming its my camera and i read up that pixelpunk hasnt fooled around with exif much...be good to be able to enter the data via cms as a fallback...next version next version but the whole php exif thing rocks and id like to get it workin

just wondering what i might need to look at to take a look at all this myself, never delt with exif and havent had a chance to look through the script...

thanks, blinks
__________________
i should say more clever stuff
Reply With Quote
  #2  
Old 10-20-2004, 06:49 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Make a new php file, call it exif-info.php or whatever you like.

Code:
<?php

$all_exif = exif_read_data(test.jpg,0,true);

print_r($all_exif);

?>
That file will take the test.jpg image and spit out all, I mean all information that's available for a pickup.

Try to see what variables that's in there.
What camera do you use?
What information does it get wrong?

// punK
__________________
icq: 66760929
Reply With Quote
  #3  
Old 10-20-2004, 09:17 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
thats a cool trick there...im new to the whole exif and php thing...i dont quite know how to apply it to the image though

i have a canon 20d...and everything is wrong on the image i tested...shutter speed and apature were pretty far off, it told me the flash fired and it didnt, and the focal length didnt display at all

im assuming each camera has a different profile, i believe the 20d uses an updated exif but im not sure...
__________________
i should say more clever stuff
Reply With Quote
  #4  
Old 10-20-2004, 09:34 AM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
From what I know it's rather chaotic with vendors more or less choosing their own field names to write exif info.

A quick search for canon exif doesn't make me happy
But I know someone here had a Canon 300D and it worked out alright.

I have very limited knowledge, I'm not sure how I should move on further. Best way would be to find a class that reads the exif info and incorporate that into the script.

// punK
__________________
icq: 66760929
Reply With Quote
  #5  
Old 10-20-2004, 09:38 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
ill work on it for a while tomorrow and im sure ill figure it out, i have a better understanding now, maybe a future advancement would be to have profiles for different camera ranges...

my exif research from today didnt have a lot of info on canon, much less my model...so im sure it will be trial and error, but info ont he correct classes for different company/model ranges is out there...

thanks
__________________
i should say more clever stuff
Reply With Quote
  #6  
Old 10-20-2004, 04:16 PM
pix Offline
forum loafer
 
Join Date: Oct 2004
Location: Seoul, Korea
Posts: 1
Send a message via AIM to pix
pixelpunk, thanks for good program.

have you checked below site out?

http://exif.org/

they have a lot of info. about EXIF.
__________________
pixelpost rules!
Reply With Quote
  #7  
Old 10-20-2004, 05:41 PM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
Code:
<?php 
echo "test1.jpg:<br />\n"; 
$exif = exif_read_data('test.JPG', 'IFD0'); 
echo $exif===false ? "No header data found.<br />\n" : "Image contains headers<br />\n"; 

$exif = exif_read_data('test.JPG', 0, true); 
echo "test2.jpg:<br />\n"; 
foreach ($exif as $key => $section) { 
   foreach ($section as $name => $val) { 
       echo "$key.$name: $val<br />\n"; 
   } 
} 
?>
works good too
__________________
i should say more clever stuff
Reply With Quote
  #8  
Old 10-20-2004, 06:46 PM
pixelpunk's Avatar
pixelpunk Offline
pixelpost guru
 
Join Date: Oct 2004
Location: Sweden
Posts: 504
Send a message via ICQ to pixelpunk
Quote:
Originally Posted by pix
pixelpunk, thanks for good program.

have you checked below site out?

http://exif.org/

they have a lot of info. about EXIF.
Thanks for the link, I'll check that out later and perhaps get any wiser

// punk
__________________
icq: 66760929
Reply With Quote
  #9  
Old 10-20-2004, 08:45 PM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
http://www.burren.cx/david/canon.html was helpful to me
__________________
i should say more clever stuff
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:05 PM.

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