[NumPy-Tickets] [NumPy] #1179: bug using array with a PIL Image (misc.imread)

NumPy Trac numpy-tickets@scipy....
Wed Jun 2 11:01:06 CDT 2010


#1179: bug using array with a PIL Image (misc.imread)
-----------------------+----------------------------------------------------
 Reporter:  nicopinto  |       Owner:  somebody   
     Type:  defect     |      Status:  new        
 Priority:  normal     |   Milestone:  Unscheduled
Component:  Other      |     Version:             
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by nicopinto):

 Thanks for your answer. I'm using the official PIL 1.1.6.

 To reproduce:
 {{{
 wget http://dl.dropbox.com/u/167753/spiky_adj_023.png && python -c "import
 numpy as np; import Image; print
 np.array(Image.open('spiky_adj_023.png'))"
 }}}

 and

 {{{
 wget http://dl.dropbox.com/u/167753/spiky_norm_001.png && python -c
 "import numpy as np; import Image; print
 np.array(Image.open('spiky_norm_001.png'))"
 }}}

 I get the same problem using the latest dev version of PIL.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1179#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list