hsexif-0.1.0.0: EXIF handling library in pure Haskell

Safe HaskellNone

Graphics.HsExif

Description

Ability to work with the EXIF data contained in JPEG files.

Synopsis

Documentation

parseFileExif :: FilePath -> IO (Either String (Map ExifTag String))Source

Read EXIF data from the file you give. It's a key-value map.

parseExif :: ByteString -> Either String (Map ExifTag String)Source

Read EXIF data from a lazy bytestring.

getDateTimeOriginal :: Map ExifTag String -> Maybe LocalTimeSource

Extract the date and time when the picture was taken from the EXIF information.