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, uint64_t length);
95 void parseTiff(uint32_t root_tag, uint64_t length,uint64_t start);
105 void parseXmp(uint64_t length,uint64_t start);
121 void parseCr3Preview(DataBuf &data,
125 uint32_t width_offset,
126 uint32_t height_offset,
127 uint32_t size_offset,
128 uint32_t relative_position);
133 void readMetadata() ;
134 void writeMetadata() ;
135 void setComment(
const std::string&
comment) ;
141 std::string mimeType() const ;
142 int pixelWidth() const;
143 int pixelHeight() const;
159 const
long pbox_end,
int depth);
160 std::
string indent(
int i)
162 return std::string(2*i,
' ');
166 std::set<uint64_t> visits_;
167 uint64_t visits_max_;
171 std::map<uint32_t, Iloc> ilocs_;
178 std::string toAscii(
long n);
179 std::string boxName(uint32_t box);
180 bool superBox(uint32_t box);
181 bool fullBox(uint32_t box);
199 EXIV2API
bool isBmffType(BasicIo& iIo,
bool advance);
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
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition: image.hpp:81
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
PrintStructureOption
Options for printStructure.
Definition: image.hpp:64
EXIV2API const char * version()
Return the version of Exiv2 as "C" string eg "0.27.0.2".
Definition: version.cpp:103
@ comment
Exiv2 type for the Exif user comment.
Definition: types.hpp:139
ByteOrder
Type to express the byte order (little or big endian)
Definition: types.hpp:102
std::string toString(const T &arg)
Utility function to convert the argument of any type to a string.
Definition: types.hpp:510