feat(embed): allow embedding of images into each other

This commit is contained in:
Mahdi Dibaiee
2017-02-02 23:46:42 +03:30
parent c26883db10
commit d468550af5
5 changed files with 49 additions and 25 deletions

View File

@ -1,6 +1,7 @@
module Main where
import Data.Picture
import System.Environment
import Data.Either
data Options = Options { file :: FilePath
, output :: FilePath
@ -47,6 +48,7 @@ module Main where
let options = parseArgs args opts
pic <- readPicture (file options)
Right other <- readPicture ("output.png")
case pic of
Left err -> print err