Re: PIL Image transform

2006-08-12 Thread Ben C
On 2006-08-11, Dean Card <[EMAIL PROTECTED]> wrote: [snip] > thanks for the reply. I have been able to use the Image.PERSPECTIVE > transform via trial and error to get it to work properly for each transform. > What I am really looking for I guess is a way to calculate the 8 int tuple > to mat

Re: PIL Image transform

2006-08-11 Thread Ben C
On 2006-08-11, Dean Card <[EMAIL PROTECTED]> wrote: >> This looks like a correct description of the sources: >> >> In Image.py: >> >> elif method == PERSPECTIVE: >># change argument order to match implementation >>data = (data[2], data[0], data[1], >>data[5], data[3], >>

Re: PIL Image transform

2006-08-11 Thread Dean Card
> This looks like a correct description of the sources: > > In Image.py: > > elif method == PERSPECTIVE: ># change argument order to match implementation >data = (data[2], data[0], data[1], >data[5], data[3], >data[4], >data[6], >data[7]) > >

Re: PIL Image transform

2006-08-11 Thread Ben C
On 2006-08-09, Dean Card <[EMAIL PROTECTED]> wrote: > Okay, so here is the situation. I have need to do some on-the-fly image > creation. I have everything working great except for the last part of it, > applying a perspective type transform to the image. The transform will take > a rectangul

PIL Image transform

2006-08-08 Thread Dean Card
Okay, so here is the situation. I have need to do some on-the-fly image creation. I have everything working great except for the last part of it, applying a perspective type transform to the image. The transform will take a rectangular 2D image and transform it to a 3D representation in 2D.