included samples, disabled debug-image generation

This commit is contained in:
Nicole Dresselhaus 2015-11-21 21:42:09 +01:00
parent 14d633586d
commit a29da3ac9a
5 changed files with 131 additions and 1 deletions

65
image1.img Normal file

File diff suppressed because one or more lines are too long

65
image2.img Normal file

File diff suppressed because one or more lines are too long

View File

@ -47,7 +47,7 @@ run (Options src w h) = do
case pix of case pix of
Nothing -> return () Nothing -> return ()
Just (f,b) -> do Just (f,b) -> do
savePngImage "test.png" (ImageRGB8 b) --savePngImage "test.png" (ImageRGB8 b)
str <- return $ img2ascii conv (f,b) str <- return $ img2ascii conv (f,b)
mapM_ (\x -> putStr x >> putStrLn "\x1b[0m") (concat <$> str) mapM_ (\x -> putStr x >> putStrLn "\x1b[0m") (concat <$> str)
Nothing -> return () Nothing -> return ()

BIN
test.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

BIN
test.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB