How to read a jpeg image to Numpy Array

import matplotlib.image as mpimg
import urllib2 as urllib
import io
fd = urllib.urlopen("http://mindey.com/wamh.jpg")
image_file = io.BytesIO(fd.read())
img=mpimg.imread(image_file, format='jpg')

More info: http://mindey.com/reading_image_to_r_python.html, http://mindey.com/jpg2matrix.html