included samples, disabled debug-image generation
This commit is contained in:
65
image1.img
Normal file
65
image1.img
Normal file
File diff suppressed because one or more lines are too long
65
image2.img
Normal file
65
image2.img
Normal file
File diff suppressed because one or more lines are too long
@ -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 ()
|
||||||
|
Reference in New Issue
Block a user