<human>:  How to adjust the quality of a resized image in Python Imaging Library?
<bot>: Here is some code to resized image `image` to width, height of `(x, y)` with filter of `ANTIALIAS`

image = image.resize((x, y), Image.ANTIALIAS)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.