On Sun, 18 Jan 2009, Devon McCormick wrote:
> I'm interested in what information may be included in the EXIF image header,
> as well as other timestamp information.  Does anyone have code to read this
> header and the other timestamps?  It would be nice if the EXIF information
> included something about camera orientation but this might be hoping for too
> much.

in linux, there is program called 'exif' for the job.
$ exif IMGP2669.JPG
EXIF tags in 'IMGP2669.JPG' ('Intel' byte order):
--------------------+----------------------------------------------------------
Tag                 |Value                                                     
--------------------+----------------------------------------------------------
Manufacturer        |PENTAX Corporation                                        
Model               |PENTAX Optio S6                                           
Orientation         |top - left                                                
x-Resolution        |72.00                                                     
y-Resolution        |72.00                                                     
Resolution Unit     |Inch                                                      
Software            |Optio S6 Ver 1.00                                         
Date and Time       |2007:03:04 16:11:44                                       
YCbCr Positioning   |co-sited                                                  
Unknown             |                                                          
Compression         |JPEG compression                                          
x-Resolution        |72.00                                                     
y-Resolution        |72.00                                                     
Resolution Unit     |Inch                                                      
Exposure Time       |1/320 sec.                                                
FNumber             |f/4.3                                                     
ExposureProgram     |Normal program                                            
ISO Speed Ratings   |64                                                        
Exif Version        |Exif Version 2.2                                          
Date and Time (origi|2007:03:04 16:11:44                                       
Date and Time (digit|2007:03:04 16:11:44                                       
ComponentsConfigurat|Y Cb Cr -                                                 
Compressed Bits per |1.63                                                      
Exposure Bias       |0.00 EV                                                   
MaxApertureValue    |2.70 EV (f/2.5)                                           
Metering Mode       |Pattern                                                   
Flash               |Flash did not fire, compulsory flash mode.                
Focal Length        |6.2 mm                                                    
Maker Note          |30000 bytes unknown data                                  
FlashPixVersion     |FlashPix Version 1.0                                      
Color Space         |sRGB                                                      
PixelXDimension     |2816                                                      
PixelYDimension     |2112                                                      
Custom Rendered     |Normal process                                            
Exposure Mode       |Auto exposure                                             
White Balance       |Auto white balance                                        
Digital Zoom Ratio  |1.00                                                      
Focal Length In 35mm|38                                                        
Scene Capture Type  |Standard                                                  
Contrast            |Normal                                                    
Saturation          |Normal                                                    
Sharpness           |Normal                                                    
Subject Distance Ran|Close view                                                
InteroperabilityInde|R98                                                       
InteroperabilityVers|0100                                                      
--------------------+----------------------------------------------------------
EXIF data contains a thumbnail (7308 bytes).

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩148 司空曙  喜外弟盧綸見宿
    靜夜四無鄰  荒居舊業貧  雨中黃葉樹  燈下白頭人
    以我獨沉久  愧君相訪頻  平生自有分  況是蔡家親
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to