yesod-media-simple (hackage):   [Index]  Package maintainers  For package maintainers and hackage trustees  Candidates    This package provides simple utilities for starting a web server which serves some media. This makes serving media as easy as serve image. For example, here's how you serve a simple diagram:  Currently yesod-media-simple supports serving the following media types:  Diagrams, by using cairo to render to png. Just call serveDiagram :: Diagram Cairo -> IO (), or the more generic serve :: RenderContent a => a -> IO ().  JuicyPixels images. Also includes utilities for putting JuicyPixels images in Diagrams and vice-versa.
Keywords: graphics|library|mit