开发者

Are there image processing modules for 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?

By the way, I do not need fancy transformat开发者_JAVA百科ions 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!


You can get a source version of PIL which will compile on python3.1 here:

https://github.com/sloonz/pil-py3k

also binary installer for 3.2 and 64-bit windows here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil

ref: Image library for Python 3


The world is changing and everyone seem to be moving to a brand new library: Pillow. It is a drop-in replacement for PIL but it is alive and does support Python 3.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜