Hi,
I tried out the code on this page http://haskell.org/haskellwiki/Library/PNG but 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