Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 04-09-2007, 02:30 AM
ace Offline
forum loafer
 
Join Date: Apr 2007
Posts: 9
EXIF problem

I'm running PP 1.5... but my EXIF data is all messed up...
see here...
http://www.alphakilo.net/photoblog/i...p?showimage=47
the focal length is being expressed with too many decimals...
as far as I could tell, no one has actually presented this problem yet, if so, please help me fix it..
Reply With Quote
  #2  
Old 04-09-2007, 03:07 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Pixelpost 1.6 will have improved EXIF support.
And it the final version of 1.6 should be out within a week or two.

So just hang tight for the moment, help is on the way. :-)
__________________
Jay Williams | A Different View
Reply With Quote
  #3  
Old 04-10-2007, 07:43 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
it is a well known ISO bug. Apply this fix:

My solution is to do this in line 397 of exif.php, last line in this snippet (in formatData method):

PHP Code:
    } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
        
$data bin2hex($data);
        if(
$intel==1$data intel2Moto($data);
        if(
$intel==&& ($type=="USHORT" || $type=="SSHORT")) $data substr($data,0,4);
        
$data=hexdec($data);
        
// add this line here!!
        
if ($tag="8827"$data=65535&$data//mask 2 bytes for ISO rating 
(Mask ISO data with 0x0000FFFF)

Add this line: if ($tag="8827") $data=65535&$data; //mask 2 bytes for ISO rating
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #4  
Old 04-12-2007, 03:00 AM
ace Offline
forum loafer
 
Join Date: Apr 2007
Posts: 9
Quote:
Originally Posted by schonhose View Post
it is a well known ISO bug. Apply this fix:

My solution is to do this in line 397 of exif.php, last line in this snippet (in formatData method):

PHP Code:
    } else if($type=="USHORT" || $type=="SSHORT" || $type=="ULONG" || $type=="SLONG" || $type=="FLOAT" || $type=="DOUBLE") {
        
$data bin2hex($data);
        if(
$intel==1$data intel2Moto($data);
        if(
$intel==&& ($type=="USHORT" || $type=="SSHORT")) $data substr($data,0,4);
        
$data=hexdec($data);
        
// add this line here!!
        
if ($tag="8827"$data=65535&$data//mask 2 bytes for ISO rating 
(Mask ISO data with 0x0000FFFF)

Add this line: if ($tag="8827") $data=65535&$data; //mask 2 bytes for ISO rating
I appreciate it... but my problem isn't with ISO display... its with aperture display. I'm not good at reading/writting code, but this seems to be something that'll correct ISO readings....
Am I missing something? Perhaps should I change something in the code to deal with it...? if so.. what should I change?
Reply With Quote
  #5  
Old 04-12-2007, 06:01 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
try upgrading to version 1.6 final and see if the problem persists.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
Post Reply


Thread Tools




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

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