Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdeng/ccexif
Header only simple EXIF reader in C++
https://github.com/jdeng/ccexif
Last synced: 25 days ago
JSON representation
Header only simple EXIF reader in C++
- Host: GitHub
- URL: https://github.com/jdeng/ccexif
- Owner: jdeng
- License: bsd-2-clause
- Created: 2014-01-30T18:14:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-30T22:30:59.000Z (almost 11 years ago)
- Last Synced: 2024-12-18T22:02:11.790Z (about 1 month ago)
- Language: C
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ccexif
======Header only simple EXIF reader in C++
Based on https://code.google.com/p/easyexif/source/browse/trunk/
Sample
===#include "exif.h"
#include
int main(int, const char *argv[])
{
std::string s = exif::extract_exif(argv[1]);
if (s.empty()) return 0;
exif::Info info;
if (info.parse(s)) {
std::cout << info.Make << "," << info.Model << "," << info.Software << ", " << info.DateTimeOriginal << std::endl;
}
return 0;
}License
===
BSD