MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / write

Function write

samples/exifdata-test.cpp:91–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void write(const std::string& file, Exiv2::ExifData& ed) {
92 auto image = Exiv2::ImageFactory::open(file);
93 image->setExifData(ed);
94 image->writeMetadata();
95}
96
97void print(const std::string& file) {
98 auto image = Exiv2::ImageFactory::open(file);

Callers 1

mainFunction · 0.70

Calls 2

setExifDataMethod · 0.45
writeMetadataMethod · 0.45

Tested by

no test coverage detected