Re: [Image-SIG] PIL Pixmap from XLIB Pixmap

2007-09-12 Thread cyril giraudon
Sorry, I wanted to say : I 'd like to know if it's possible to expose a PIL image into an XLIB Pixmap known by its XID ? (create a PIL Pixmap from an XID). Cyril. cyril giraudon a écrit : Hi, I 'm currently trying to write a xulrunner windowless plugin in python. Data are drawn in a xlib

[Image-SIG] Filter PIL images with arbitrary kernels via numpy and FFT

2007-09-12 Thread Connelly Barnes
The Python Imaging Library currently only supports 3x3 and 5x5 image filters. Here's a module which uses numpy and the FFT to compute filters of arbitrary size: http://barnesc.blogspot.com/2007/09/filter-numpy-images-with-fft-python.html For an image and filter which contain a total of N