On 10/1/07, <b class="gmail_sendername">Varsha Purohit</b> &lt;<a href="mailto:varsha.purohit@gmail.com">varsha.purohit@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>&nbsp;&nbsp;&nbsp; I basically wanna create a bitmap image in python. This will be basically in pixels. X and y coordinates will be specified in the program and python should create an image by matching the colours. I came across a function called 
wx.ImageFromData which book claims that it creates a bitmap image in pixels. But i am not getting proper implementation of this function on net... </blockquote><div><br>&nbsp;</div></div>Hi Varsha,<br><br>I have not delved too deeply into WX, but I have made bitmaps from data using TKinter&#39;s canvas.
<br>I found it to be a very slow way to do things (both in programming and in execution speed) and I ended up using the Python Image Library (PIL) instead.<br><br>If you don&#39;t really need the GUI capabilities of WX for this project then PIL is probably a better tool for the job.
<br><br>Ian.<br>