#include <image.hpp>
Inheritance diagram for Exiv2::JpegImage:
Public Member Functions | |
Creators | |
JpegImage (const std::string &path, bool create) | |
Constructor that can either open an existing Jpeg image or create a new image from scratch. If a new image is to be created, any existing file is overwritten. Since the constructor can not return a result, callers should check the good method after object construction to determine success or failure. | |
~JpegImage () | |
Destructor. | |
Protected Member Functions | |
Accessors | |
int | writeHeader (FILE *ofp) const |
Writes a Jpeg header (aka signature) to the file stream. | |
bool | isThisType (FILE *ifp, bool advance) const |
Determine if the content of the file stream is a Jpeg image. See base class for more details. | |
Friends | |
bool | isJpegType (FILE *ifp, bool advance) |
Check if the file ifp is a JPEG image. |
|
Constructor that can either open an existing Jpeg image or create a new image from scratch. If a new image is to be created, any existing file 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 file stream is a Jpeg image. See base class for more details.
Implements Exiv2::JpegBase. |
|
Writes a Jpeg header (aka signature) to the file stream.
Implements Exiv2::JpegBase. |