Popularity
2.5
Growing
Activity
4.0
-
3
3
0

Monthly Downloads: 20
Programming language: Haskell
License: MIT License
Tags: Foreign    
Latest version: v0.2.0.0

exiftool alternatives and similar packages

Based on the "Foreign" category.
Alternatively, view exiftool alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of exiftool or a related project?

Add another 'Foreign' Package

README

exiftool-haskell

Hackage CI

Haskell bindings to the ExifTool command-line application that enable reading, writing and deleting metadata in various file formats.

Full documentation is on Hackage. A short code example:

{-# LANGUAGE OverloadedStrings #-}

import Data.Text (Text)
import ExifTool

data Foo = Foo
  { description :: Text,
    resolution :: Int
  }
  deriving (Show)

main :: IO ()
main = withExifTool $ \et -> do
  m <- readMeta et [] "a.jpg"
  print $ Foo <$> get (Tag "Description") m <*> get (Tag "XResolution") m
  let m' = del (Tag "Description") . set (Tag "XResolution") (42 :: Int) $ m
  writeMeta et m' "a.jpg"