Exiv2
|
Insert the Exif data from corresponding *.exv files. More...
#include <actions.hpp>
Public Types | |
typedef std::auto_ptr< Insert > | AutoPtr |
![]() | |
typedef std::auto_ptr< Task > | AutoPtr |
Shortcut for an auto pointer. | |
Public Member Functions | |
virtual int | run (const std::string &path) |
Application interface to perform a task. More... | |
AutoPtr | clone () const |
int | insertThumbnail (const std::string &path) const |
Insert a Jpeg thumbnail image from a file into file path. The filename of the thumbnail is expected to be the image filename (path) minus its suffix plus "-thumb.jpg". | |
int | insertXmpPacket (const std::string &path) const |
Insert an XMP packet from a file into file path. The filename of the XMP packet is expected to be the image filename (path) minus its suffix plus ".xmp". | |
![]() | |
virtual | ~Task () |
Virtual destructor. | |
AutoPtr | clone () const |
Virtual copy construction. | |
Insert the Exif data from corresponding *.exv files.
|
virtual |
Application interface to perform a task.
path | Path of the file to process. |
Implements Action::Task.
References Exiv2::fileExists(), insertThumbnail(), insertXmpPacket(), Params::instance(), Exiv2::ImageType::none, Exiv2::string, Params::suffix_, and Params::target_.