Varsha purohit wrote: > I need a sample program to use frombuffer frombuffer is for converting binary data to an image.
> convert my ascii text file to image file. What form is your ascii text file? You can parse it on your own, or the numpy package (see numpy.fromfile) may help. In any case, you'll need a way to convert your ascii text to a binary format that PIL understands. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig