Cropping image - Image.crop function not working
问题 I have following line of code for image cropping im = Image.open('path/to/image.jpg') outfile = "path/to/dest_img.jpg" im.copy() im.crop((0, 0, 500, 500)) im.thumbnail(size, Image.ANTIALIAS) im.save(outfile, "JPEG") But it doesn't seems cropping image. I have bigger image size e.g. 2048 x 1536 px. [edited] Here's solution too, I could not answer this question myself so adding answer here. Actually crop return image with new handler, I realized where I make mistake. I should have assign crop