diagrams-input-0.1.3: Parse raster and SVG files for diagrams
Copyright(c) 2015 Tillmann Vogt
LicenseBSD-style (see LICENSE)
Maintainerdiagrams-discuss@googlegroups.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Diagrams.TwoD.Input

Description

Importing external images into diagrams.

Synopsis

Documentation

loadImageEmbedded :: (InputConstraints b n, Renderable (Text n) b, Read n, n ~ Place) => FilePath -> IO (Either String (QDiagram b V2 n Any)) Source #

Load 2d formats given by a filepath and embed them

loadImageExternal :: (InputConstraints b n, Renderable (DImage n External) b) => FilePath -> IO (Either String (QDiagram b V2 n Any)) Source #

Load 2d formats given by a filepath and make a reference