Action::Extract Class Reference

Extract the entire exif data or only the thumbnail section. More...

#include <actions.hpp>

Inheritance diagram for Action::Extract:

Inheritance graph
[legend]
Collaboration diagram for Action::Extract:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::auto_ptr< ExtractAutoPtr
 Shortcut for an auto pointer.

Public Member Functions

virtual int run (const std::string &path)
 Application interface to perform a task.
AutoPtr clone () const
 Virtual copy construction.
int writeThumbnail () const
 Write the thumbnail image to a file. The filename is composed by removing the suffix from the image filename and appending "-thumb" and the appropriate suffix (".jpg" or ".tif"), depending on the format of the Exif thumbnail image.
int writePreviews () const
 Write preview images to files.
void writePreviewFile (const Exiv2::PreviewImage &pvImg, int num) const
 Write one preview image to a file. The filename is composed by removing the suffix from the image filename and appending "-preview<num>" and the appropriate suffix (".jpg" or ".tif"), depending on the format of the Exif thumbnail image.

Detailed Description

Extract the entire exif data or only the thumbnail section.


Member Function Documentation

int Action::Extract::run const std::string &  path  )  [virtual]
 

Application interface to perform a task.

Parameters:
path Path of the file to process.
Returns:
0 if successful.

Implements Action::Task.


The documentation for this class was generated from the following files:
Generated on Thu Dec 31 03:57:56 2009 for Exiv2 by  doxygen 1.3.9.1