#include <jpgimage.hpp>
Inheritance diagram for Exiv2::ExvImage:
Public Member Functions | |
Creators | |
ExvImage (BasicIo::AutoPtr io, bool create) | |
Constructor that can either open an existing EXV image or create a new image from scratch. If a new image is to be created, any existing data is overwritten. Since the constructor can not return a result, callers should check the good() method after object construction to determine success or failure. | |
Accessors | |
std::string | mimeType () const |
Return the MIME type of the image. | |
Protected Member Functions | |
Accessors | |
bool | isThisType (BasicIo &iIo, bool advance) const |
Determine if the content of the BasicIo instance is of the type supported by this class. | |
Manipulators | |
int | writeHeader (BasicIo &oIo) const |
Writes the image header (aka signature) to the BasicIo instance. | |
Friends | |
EXIV2API bool | isExvType (BasicIo &iIo, bool advance) |
Check if the file iIo is an EXV file. |
|
Constructor that can either open an existing EXV image or create a new image from scratch. If a new image is to be created, any existing data is overwritten. Since the constructor can not return a result, callers should check the good() method after object construction to determine success or failure.
|
|
Determine if the content of the BasicIo instance is of the type supported by this class. The advance flag determines if the read position in the stream is moved (see below). This applies only if the type matches and the function returns true. If the type does not match, the stream position is not changed. However, if reading from the stream fails, the stream position is undefined. Consult the stream state to obtain more information in this case.
Implements Exiv2::JpegBase. |
|
Return the MIME type of the image.
Implements Exiv2::Image. |
|
Writes the image header (aka signature) to the BasicIo instance.
Implements Exiv2::JpegBase. |