homepage: https://github.com/mgsloan/yesod-media-simple
changelog-type: ''
hash: befc2203bbdd17ba3e2f5974efe0e610d88800aaa768cb1f1c03bf31face962f
test-bench-deps: {}
maintainer: mgsloan@gmail.com
synopsis: Simple display of media types, served by yesod
changelog: ''
basic-deps:
  diagrams-lib: -any
  JuicyPixels: -any
  bytestring: -any
  base: ! '>=4 && <5'
  diagrams-cairo: -any
  yesod: ! '>1.2'
  diagrams-core: -any
  vector: -any
  directory: -any
all-versions:
- '0.1.0.0'
- '0.1.0.1'
author: Michael Sloan
latest: '0.1.0.1'
description-type: markdown
description: ! "# yesod-media-simple\n\nThis package provides simple utilities for
  starting a web server which\nserves some media.  This makes serving media as easy
  as `serve\nimage`.  For example, here's how you serve a simple diagram:\n\n```haskell\nimport
  Diagrams.Prelude\nimport Yesod.Media.Simple\n\nmain = serveDiagram (circle 10 |||
  square 20)\n```\n\n## Media Types\n\nCurrently `yesod-media-simple` supports serving
  the following media\ntypes:\n\n* [Diagrams](http://projects.haskell.org/diagrams/),
  by using cairo to\n  render to png.  Just call `serveDiagram :: Diagram Cairo R2
  -> IO\n  ()`!\n\n* [JuicyPixels](https://hackage.haskell.org/package/JuicyPixels)\n
  \ images.  Also includes utilities for putting JuicyPixels images in\n  Diagrams
  and vice-versa.\n"
license-name: MIT

Update from Hackage at 2015-07-18T05:20:23+0000
Update from Hackage at 2015-07-18T05:20:23+0000
