
12 Jul
2010
12 Jul
'10
12:51 p.m.
Hi, I tried out the code on this page http://haskell.org/haskellwiki/Library/PNGbut the png file that'e emitted does not seem to open properly with image viewing tools. Has anyone tried it out? I added this bit for supplying the data for image creation - count=100 row = take count (cycle [True,False]) rows = take 100 (repeat row) image = png rows main=writeFile "hello.png" image -- Regards, Kashyap