Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
#include <easyexif/exif.h>
Parse EXIF data from a JPEG file
#include "easyexif/exif.h"
#include <fstream>
#include <vector>
int main() {
std::ifstream file("photo.jpg", std::ios::binary);
std::vector<char> data((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
easyexif::EXIFInfo result;
if (result.parseFrom(reinterpret_cast<const unsigned char*>(data.data()), data.size()) == PARSE_EXIF_SUCCESS) {
// Use result.ImageDescription, etc.
}
return 0;
}
Debug
Known footguns
No known footguns recorded.
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.
Resources
No resource links recorded.