Safe Haskell | None |
---|
Ability to work with the EXIF data contained in JPEG files.
- data ExifTag
- = ExposureTime
- | FNumber
- | ExposureProgram
- | ISOSpeedRatings
- | ExifVersion
- | DateTimeOriginal
- | DateTimeDigitized
- | ComponentConfiguration
- | CompressedBitsPerPixel
- | ShutterSpeedValue
- | ApertureValue
- | BrightnessValue
- | ExposureBiasValue
- | MaxApertureValue
- | SubjectDistance
- | MeteringMode
- | LightSource
- | Flash
- | FocalLength
- | MakerNote
- | UserComment
- | FlashPixVersion
- | ColorSpace
- | ExifImageWidth
- | ExifImageHeight
- | RelatedSoundFile
- | ExifInteroperabilityOffset
- | FocalPlaneXResolution
- | FocalPlaneYResolution
- | FocalPlaneResolutionUnit
- | SensingMethod
- | FileSource
- | SceneType
- | Unknown Word16
- parseFileExif :: FilePath -> IO (Either String (Map ExifTag String))
- parseExif :: ByteString -> Either String (Map ExifTag String)
- getDateTimeOriginal :: Map ExifTag String -> Maybe LocalTime
Documentation
parseFileExif :: FilePath -> IO (Either String (Map ExifTag String))Source
Read EXIF data from the file you give. It's a key-value map.