#include <psdimage.hpp>
Inheritance diagram for Exiv2::PsdImage:
Public Member Functions | |
Creators | |
PsdImage (BasicIo::AutoPtr io) | |
Constructor to open a Photoshop image. Since the constructor can not return a result, callers should check the good() method after object construction to determine success or failure. | |
Manipulators | |
void | readMetadata () |
Read all metadata supported by a specific image format from the image. Before this method is called, the image metadata will be cleared. | |
void | writeMetadata () |
Write metadata back to the image. | |
void | setComment (const std::string &comment) |
Not supported. Calling this function will throw an Error(32). | |
Accessors | |
std::string | mimeType () const |
Return the MIME type of the image. |
|
Constructor to open a Photoshop image. Since the constructor can not return a result, callers should check the good() method after object construction to determine success or failure.
|
|
Return the MIME type of the image. The MIME type returned for Photoshop images is "image/x-photoshop".
Implements Exiv2::Image. |
|
Read all metadata supported by a specific image format from the image. Before this method is called, the image metadata will be cleared. This method returns success even if no metadata is found in the image. Callers must therefore check the size of individual metadata types before accessing the data.
Implements Exiv2::Image. |
|
Write metadata back to the image. All existing metadata sections in the image are either created, replaced, or erased. If values for a given metadata type have been assigned, a section for that metadata type will either be created or replaced. If no values have been assigned to a given metadata type, any exists section for that metadata type will be removed from the image.
Implements Exiv2::Image. |