Here is a possible PIL bug. I appologise in advance if I am doing 
something silly python-wise.

When using resize method and using BILINEAR, BICUBIC or NEAREST arguments

For example: ImageName.resize((200,300),ANTIALIAS)

interpreter tells me that the global name "ANTIALIAS" is not defined

the globals are definately defined in image.py Shouldn't they be 
imported as a part of
"import Image" routine?

Anyways, entering numeric values:  ImageName.resize((200,300),1)
obviously solves the problem, but makes things a bit harder to read down 
the line

thank you,
                                     dima



-- 
<name>Dmitry (Dima) Strakovsky</name>
<email>[EMAIL PROTECTED]</email>
<website>www.shiftingplanes.org</website>

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to