hakyll-images-1.1.1: Hakyll utilities to work with images
Copyright(c) Laurent P René de Cotret 2019
LicenseBSD3
Maintainerlaurent.decotret@outlook.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Hakyll.Images.Metadata

Description

 
Synopsis

Documentation

imageMetadata :: Item Image -> Compiler Metadatas Source #

Extract metadata from an image.

match "*.jpg" $ do
    route idRoute
    compile $ do
        im <- loadImage
        meta <- imageMetadata
        doSomethingWithMetadata meta
        ...

metadata :: Image -> Metadatas Source #

Extract metadata from an image. This function will throw an error in case of a problem.

This function is for testing purposes.