Join Dan Gookin for an in-depth discussion in this video Hunting for EXIF data, part of Code Clinic: C.
- View Offline
- Exercise Files
- As with other projects that require…more abilities than those offered…by the standard C library,…my first approach to solve this problem…was to look for an EXIF C language library.…The metadata extractor available from GitHub…looked like the perfect solution.…Despite the fact that the link said…it was a C language library,…the library was in Java.…That happens often.…Next I tried looking into the libjpeg library,…which I used to solve problem two.…While libjpeg does read the JPEG file header,…it doesn't extract any EXIF data…beyond the basic image information,…bytes per pixel, width, and height.…
Finally, I stumbled upon the libexif library at SourceForge.…It most definitely did the trick.…I ran a few tests to determine how well…it extracted EXIF data.…It worked beautifully.…The problem was that it worked beautifully…only with EXIF version 1.2.…For EXIF version 1.1 files, no data would be read.…This was frustrating because a majority…of the sample images are in EXIF 1.1 format.…
At this point, I created file dumps of the images…
Dan introduces challenges and then provides an overview of his solutions in C. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Beginner
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem Three: Eight Queens
4. Problem Four: Accessing Peripherals
5. Problem Five: Recursion and Directories
6. Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.