2
PIL quickie
Python Image Library (PYL) is a fully featured, quick image manipulation library for python. The default saving behaviour is a problem though, because it produces really low quality images. Remember that save function has a quality parameter, use values greater than 90 to get quality results!
from PIL import Image
image = Image.open("foo.jpg")
image = image.resize((800,600), Image.ANTIALIAS)
image.save("bar.jpg", quality=95)
Maybe fix the title? PYL… PIL
erhmmm thnx