PIL interpolation access

2004-11-30 Thread irond_will
Does anyone know how I might directly access PIL's bicubic interpolator? I have an arbitrary array of points for which I need to find interpolated color values. Unfortunately, I have no clue how to acceess the bicubic filter in the PIL module, and my NumArray solution is very slow and clunky. I'

Re: PIL interpolation access

2004-11-30 Thread irond_will
I managed to get steps 2 and 4 fixed (grabbing and putting the pixels). I converted some code found at http://effbot.org/zone/pil-numpy.htm written by Fredrick Lundh. Currently, it only works for RBG bitmaps. I'm certain that there are better ways to do some of this, but it's pretty zippy as it