[Tutor] transpose problems in PIL
Kalle Svensson
kalle@gnupung.net
Mon, 6 Aug 2001 22:31:15 +0200
Sez kromag@nsacom.net:
> Howdy.
>
> For some strange reason that I cannot fathom I am having difficulty with
> transpose() in PIL.
[snip]
> it gives me the error:
>
>
> >pythonw -u card_builder.py
> Traceback (most recent call last):
> File "card_builder.py", line 7, in ?
> clip3=clip1.transpose(Image.FLIP_RIGHT_LEFT)
> AttributeError: FLIP_RIGHT_LEFT
> >Exit code: 1
>
> Image.ROTATE_180 works just fine. Clues?
I've never used PIL, so I'm just guesing here, but two things to check:
Could it be Image.FLIP_LEFT_RIGHT or something?
Is it implemented in the version of PIL you're using?
Peace,
Kalle
--
Free Dmitry Sklyarov! - http://www.freesklyarov.org/