Hi,<br><br>I tried out the code on this page <a href="http://haskell.org/haskellwiki/Library/PNG">http://haskell.org/haskellwiki/Library/PNG</a> but the png file that&#39;e emitted does not seem to open properly with image viewing tools. Has anyone tried it out?<br clear="all">
<br>I added this bit for supplying the data for image creation -<br><br>count=100<br>row = take count (cycle [True,False])<br>rows = take 100 (repeat row)<br>image = png rows<br><br>main=writeFile &quot;hello.png&quot; image<br>
<br><br><br>-- <br>Regards,<br>Kashyap<br>