Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.
Development has moved to https://github.com/libexif/. See https://libexif.github.io for more details.