[Scipy-tickets] [SciPy] #1613: scipy.misc.imread segfaults on 1 bit png

SciPy Trac scipy-tickets@scipy....
Thu Mar 1 02:23:33 CST 2012


#1613: scipy.misc.imread segfaults on 1 bit png
-----------------------------+----------------------------------------------
 Reporter:  wiredfool        |       Owner:  somebody
     Type:  defect           |      Status:  new     
 Priority:  normal           |   Milestone:  0.11.0  
Component:  scipy.misc       |     Version:  0.8.0   
 Keywords:  imread segfault  |  
-----------------------------+----------------------------------------------

Comment(by stefan):

 For loading images, you're probably be better of using skimage:

 {{{
 from skimage import io
 image = io.imread('/tmp/my_img.png')
 }}}

 or

 {{{
 from skimage import io
 io.use_plugin('freeimage')
 image = io.imread('/tmp/my_img.png')
 }}}

 Not that this bug shouldn't be fixed...

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1613#comment:2>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list