<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.14.3">
</HEAD>
<BODY>
If the image is in the form of a standard image format (png, bmp, jpeg...) you can use the PIL library. png file can be read by pylab's imread function.<BR>
<BR>
   Nadav.<BR>
<BR>
On Sun, 2007-11-04 at 23:37 -0800, devnew@gmail.com wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">hi</FONT>
<FONT COLOR="#000000">i wish to convert an rgb image into an array of double values..is</FONT>
<FONT COLOR="#000000">there a method for that in numpy?</FONT>
<FONT COLOR="#000000">also i want to create an array of doubles into corresponding rgb</FONT>
<FONT COLOR="#000000">tuples of an image</FONT>
<FONT COLOR="#000000">can anyone guide me?</FONT>
<FONT COLOR="#000000">dn</FONT>

<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Numpy-discussion mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Numpy-discussion@scipy.org">Numpy-discussion@scipy.org</A></FONT>
<FONT COLOR="#000000"><A HREF="http://projects.scipy.org/mailman/listinfo/numpy-discussion">http://projects.scipy.org/mailman/listinfo/numpy-discussion</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>