24 #include "exiv2lib_export.h"
34 EXIV2API
bool enableBMFF(
bool enable =
true);
37 #ifdef EXV_ENABLE_BMFF
42 Iloc(uint32_t ID = 0, uint32_t start = 0, uint32_t length = 0) : ID_(ID), start_(start), length_(length){};
64 class EXIV2API BmffImage :
public Image
94 void parseTiff(uint32_t root_tag, uint32_t length);
95 void parseTiff(uint32_t root_tag, uint32_t length,uint32_t start);
105 void parseXmp(uint32_t length,uint32_t start);
110 void readMetadata() ;
111 void writeMetadata() ;
112 void setComment(
const std::string&
comment) ;
118 std::string mimeType() const ;
119 int pixelWidth() const;
120 int pixelHeight() const;
134 std::
string indent(
int i)
136 return std::string(2*i,
' ');
140 std::set<uint64_t> visits_;
141 uint64_t visits_max_;
145 std::map<uint32_t, Iloc> ilocs_;
152 std::string toAscii(
long n);
153 std::string boxName(uint32_t box);
154 bool superBox(uint32_t box);
155 bool fullBox(uint32_t box);
173 EXIV2API
bool isBmffType(BasicIo& iIo,
bool advance);
175 #endif // EXV_ENABLE_BMFF
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition: image.hpp:81
ByteOrder
Type to express the byte order (little or big endian)
Definition: types.hpp:102
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
std::string toString(const T &arg)
Utility function to convert the argument of any type to a string.
Definition: types.hpp:510
PrintStructureOption
Options for printStructure.
Definition: image.hpp:64
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition: basicio.hpp:58
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exiv2 type for the Exif user comment.
Definition: types.hpp:139