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 writeXmp () const
 Write the XMP packet to a file.


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.

References Params::instance(), writeThumbnail(), and writeXmp().


The documentation for this class was generated from the following files:

Generated on Fri Jun 20 14:35:20 2008 for Exiv2 by  doxygen 1.5.5