It was simple getting it to work using a simple setup.py script: from distutils.core import setup, Extension setup(name='PIL_usm', version='1.0', py_modules = ['PIL_usm'], ext_modules=[Extension('PILusm', ['PILusm.cpp'], include_dirs=['.\Imaging-1.1.6\libImaging'])], # where my PIL includes are )
/Johannes On Sat, May 17, 2008 at 1:50 PM, Johannes Strömberg <[EMAIL PROTECTED]> wrote: > Thanks, it looks like exactly what I need. > > Strange that it has not been added to the PIL core. IP issues? > > Now I have to figure out how to build the module on Windows. > > /Johannes > > On Fri, May 16, 2008 at 7:05 PM, Kevin Cazabon <[EMAIL PROTECTED]> wrote: >> I wrote a module for that, but you'll have to compile it for your >> distribution. Attached (sorry!). >> >> I've asked Fredrik to consider adding these functions to the core PIL code >> in the past, but for some reason he's never discussed it further... maybe >> there are IP issues, I don't know. >> >> Kevin. >> >> >> >> On 16 May 2008, at 10:22, Johannes Strömberg wrote: >> >>> Hello, >>> >>> Is there an unsharp mask filter in PIL (I can not find any) or can I >>> create it by combining other filters (that would require Gaussian blur >>> but I can not find that either)? >>> >>> /Johannes >>> _______________________________________________ >>> Image-SIG maillist - Image-SIG@python.org >>> http://mail.python.org/mailman/listinfo/image-sig >> >> >> > _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig