Wednesday, September 16, 2009

Howto Extract camera settings and Picture information from a image file using ExifTool in Ubuntu Linux

ExifTool is a Perl module with an included command-line application
for reading and writing meta information in image, audio and video
files. Modern Digital Camera including Canon, Minolta,Konica, Nikon, Pentax store all the settings you used, such as aperture or shutter speed along with the picture. For extracting the camera settings and Picture information , you can use ExifTool. ExifTool is requred for profesional editing of some Picture Files.

Howto Install in ExifTool ubuntu
Open a terminal and type the following

$ sudo apt-get install libimage-exiftool-perl

Check a image file for its settings

$ exiftool UNS_1850.JPG
ExifTool Version Number : 7.30
File Name : UNS_1850.JPG
Directory : .
File Size : 4 MB
File Modification Date/Time : 2009:08:21 11:25:32
File Type : JPEG
MIME Type : image/jpeg
Exif Byte Order : Big-endian (Motorola, MM)
Make : NIKON CORPORATION
Camera Model Name : NIKON D200
Orientation : Horizontal (normal)
X Resolution : 300
Y Resolution : 300
Resolution Unit : inches
Software : Ver.2.00
Modify Date : 2009:08:21 10:55:30
Y Cb Cr Positioning : Co-sited
Exposure Time : 1/200
F Number : 10.0
Exposure Program : Manual
ISO : 200
Exif Version : 0221
Date/Time Original : 2009:08:21 10:55:30
Create Date : 2009:08:21 10:55:30
and more................