[Image-SIG] Image warping in Python or PIL

2010-05-07 Thread Son Hua
Hi, Can anybody show me some hints on how to implement an image warping function efficiently in Python or PIL? Suppose we have a function f(x, y) -> (x', y') that warps a pixel location (x, y) to (x', y'). Because (x', y') may end up to be non-integer, and many (x, y) can map to the same (x',

Re: [Image-SIG] Mac support for PIL

2010-05-07 Thread Adrian Price-Whelan
I'm using Snow Leopard version 10.6.3 - I didn't have to do any hacks to get it working once I had the necessary dependancies installed. -- Adrian Price-Whelan http://cosmo.nyu.edu/~apw235 On May 7, 2010, at 12:19 PM, Bill Janssen wrote: > Paul Ross wrote: > >> Hi there and I'm sorry to

Re: [Image-SIG] Mac support for PIL

2010-05-07 Thread Chris Barker
Fredrik Lundh wrote: Do you have the necessary support libraries on your machine? (see the README file). There are prebuilt versions out there too; maybe some Mac hackers can chime in and point you to the latest and greatest. I'd ask on the pyhthonmac SIG list. Maybe someone there has or will

Re: [Image-SIG] Mac support for PIL

2010-05-07 Thread Bill Janssen
Paul Ross wrote: > Hi there and I'm sorry to bother you but... > > I know that PIL is Windows-centric but is there any chance that it will > support Snow Leopard on Apple Mac some time soon? > > I have been trying to build PIL from source on Snow Leopard without success > as it appears to onl

Re: [Image-SIG] Mac support for PIL

2010-05-07 Thread Fredrik Lundh
Do you have the necessary support libraries on your machine? (see the README file). There are prebuilt versions out there too; maybe some Mac hackers can chime in and point you to the latest and greatest. On Wed, May 5, 2010 at 10:42 PM, Paul Ross wrote: > Hi there and I'm sorry to bother you

Re: [Image-SIG] Mac support for PIL

2010-05-07 Thread Yury V. Zaytsev
Hi! On Wed, 2010-05-05 at 21:42 +0100, Paul Ross wrote: > > I know that PIL is Windows-centric but is there any chance that it will > support Snow Leopard on Apple Mac some time soon? Windows-centric?! > I have googled for the answer for a couple of hours now and tried many > ad-hoc things (d

[Image-SIG] Mac support for PIL

2010-05-07 Thread Paul Ross
Hi there and I'm sorry to bother you but... I know that PIL is Windows-centric but is there any chance that it will support Snow Leopard on Apple Mac some time soon? I have been trying to build PIL from source on Snow Leopard without success as it appears to only support PNG and not other image

Re: [Image-SIG] weird windows 7 error with ImageFont

2010-05-07 Thread Laura & Edward Cannon
running the selftest.py I find the following output: PIL 1.1.7 TEST SUMMARY Python modules loaded from C:\Python26\lib\site-packages\PIL Binary modules loaded f

Re: [Image-SIG] weird windows 7 error with ImageFont

2010-05-07 Thread Fran Boon
On 5 May 2010 04:48, Fredrik Lundh wrote: > What binaries are we talking about?  I'm pretty sure the effbot.org > binaries have _imagingft in them, at least: The file is there, but won't import on my Windows 7 64-bit Python-2.6 machine. The Application log shows a Side-by-Side error: http://blogs