Sunday, December 30, 2012

Simple Exif Viewer using C++ and Exiv2

Exif or Exchangeable image file format is a variation of JPEG, used by almost all digital cameras to record extra interchange information to image files as they are taken. Camera settings and scene information are recorded by the camera into the image file. Examples of stored information are shutter speed, date and time a photo was taken, focal length, exposure compensation, metering pattern and if a flash was used.

I have build a simple Exif Viewer using Exiv2 and C++ (I have wrote about Exiv2 in a previous post). Since Exiv2 supports command line, from my application I am invoking the Exiv2 commands through the command line and getting the output back to my application. The one of the nicest things in Exiv2 is, it has the capability to read set of commands from a text file and execute those commands on the command line.
image
Simple Exif Viewer
You can download the source and expand the application using various features Exiv2 supports.

Happy Coding.

Regards,
Jaliya