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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to