问题描述
我正面临一个图像处理任务,我正在使用Python 3.2(在64位Windows系统上)。我对图像处理库的所有搜索都提出了旧版Python的库(最着名的是PIL,其当前版本 - 1.1.7 - 支持Python 2.7)。有没有人知道Python 3的图像处理库?
I am facing an image processing task, and I'm using Python 3.2 (on a 64-bit Windows system). All my searches for image processing libraries have come up with are libraries for older versions of Python (most notably PIL, whose current version - 1.1.7 - supports Python 2.7). Does anyone know of an image processing library for Python 3?
顺便说一句,我不需要花哨的转换和繁重的东西。我只需要打开一个JPG文件并将图像作为RGB值矩阵/列表。
By the way, I do not need fancy transformations and heavy stuff. All I need is to open a JPG file and get the image as an RGB-value matrix/list.
任何帮助都将非常受欢迎!
Any help will be most appreciated!
推荐答案
您可以在这里获得将在python3.1上编译的PIL源代码:
You can get a source version of PIL which will compile on python3.1 here:
此处还有3.2和64位窗口的二进制安装程序:
also binary installer for 3.2 and 64-bit windows here:http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
ref:
这篇关于是否有Python 3的图像处理模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!