Python开源库的bug
2014-08-29 09:33
239 查看
scipy
在misc的pilutil.py中def fromimage(im, flatten=0)函数中,
# workaround for crash in PIL, see #1613.
im.convert('L')
上面是之前的代码,当图片模式是二值模式时,此处会出错,因为im.convert('L')对原图片没有任何变化,改为
im = im.convert('L')
在misc的pilutil.py中def fromimage(im, flatten=0)函数中,
# workaround for crash in PIL, see #1613.
im.convert('L')
上面是之前的代码,当图片模式是二值模式时,此处会出错,因为im.convert('L')对原图片没有任何变化,改为
im = im.convert('L')
相关文章推荐
- 十二球称重问题的 Python 程序 bug 修正版
- 可能是python 2.3中的一个bug
- Komodo IDE 7.0.2 Debug UTF-8 Python 文档的Bug
- python 程序bug解决方案
- Python中使用Json 以及 Python2.7中json库Bug的处理
- BUG python2.7 httplib message_body
- python mysql cursor的一个bug 出2014错误
- “金龙含珠辞旧岁,金蛇狂舞贺新年”。祝大家在Python年里,程序Bug越来越少,算法越来越efficient,模型越来越creative!
- Python学习过程遇到的Bug-不断更新
- 菜鸟学Python(2):学而不思则罔(从一个Python Bug谈开)
- Python Serialize Unicode Data 处理BUG修正.
- python笔记——诡异BUG?
- python的c/c++扩展内存泄露bug fix
- 疑似BUG:Python SGMLParser处理html中的javascript失当
- 菜鸟学Python(5):IDLE的一个bug(怎么总遇到bug?)
- Python logging RotatingFileHandler bug
- 菜鸟学Python(5):IDLE的一个bug(怎么总遇到bug?)
- BUG!!!======>dd-wrt上运行django,安装 imaing python library 软件的时候找不到 gcc
- 兔子和獾——python游戏(python3.3.2版本Bug修改)
- python的BaseHTTPRequestHandler的bug