#include <actions.hpp>
Inheritance diagram for Action::Extract:
Public Types | |
typedef std::auto_ptr< Extract > | AutoPtr |
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 Action::Extract::run | ( | const std::string & | path | ) | [virtual] |
Application interface to perform a task.
path | Path of the file to process. |
Implements Action::Task.