29#include "exiv2lib_export.h"
111 void doWriteMetadata(
BasicIo& oIo);
An interface for simple binary IO.
Definition basicio.hpp:55
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition basicio.hpp:58
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition types.hpp:193
virtual std::string comment() const
Return a copy of the image comment. May be an empty string.
Definition image.cpp:742
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition image.hpp:81
virtual BasicIo & io() const
Return a reference to the BasicIo instance being used for Io.
Definition image.cpp:752
Image(int imageType, uint16_t supportedMetadata, BasicIo::AutoPtr io)
Constructor taking the image type, a bitmap of the supported metadata types and an auto-pointer that ...
Definition image.cpp:167
void printStructure(std::ostream &out, PrintStructureOption option, int depth)
Print out the structure of image file.
Definition jp2image.cpp:469
Jp2Image(BasicIo::AutoPtr io, bool create)
Constructor to open a JPEG-2000 image. Since the constructor can not return a result,...
Definition jp2image.cpp:135
void setComment(const std::string &comment)
Todo: Not supported yet(?). Calling this function will throw an instance of Error(kerInvalidSettingFo...
Definition jp2image.cpp:161
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
Definition jp2image.cpp:207
std::string mimeType() const
Return the MIME type of the image.
Definition jp2image.cpp:156
void writeMetadata()
Write metadata back to the image.
Definition jp2image.cpp:634
Supported image formats.
Definition asfvideo.hpp:42
const int jp2
JPEG-2000 image type.
Definition jp2image.hpp:45
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
EXIV2API bool isJp2Type(BasicIo &iIo, bool advance)
Check if the file iIo is a JPEG-2000 image.
Definition jp2image.cpp:985
PrintStructureOption
Options for printStructure.
Definition image.hpp:64
EXIV2API Image::AutoPtr newJp2Instance(BasicIo::AutoPtr io, bool create)
Create a new Jp2Image instance and return an auto-pointer to it. Caller owns the returned object and ...
Definition jp2image.cpp:975