[Haskell-cafe] PNG sample on haskellwiki
C K Kashyap
ckkashyap at gmail.com
Mon Jul 12 12:51:01 EDT 2010
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 -
row = take count (cycle [True,False])
rows = take 100 (repeat row)
image = png rows
main=writeFile "hello.png" image
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe