24#include "exiv2lib_export.h"
34 EXIV2API
bool enableBMFF(
bool enable =
true);
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
83 BmffImage(BasicIo::AutoPtr io,
bool create);
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;
146 Exiv2::ByteOrder endian_ ;
158 long boxHandler(std::ostream& out,
Exiv2::PrintStructureOption option,
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
std::string toString(const T &arg)
Utility function to convert the argument of any type to a string.
Definition types.hpp:510