print(f"图片尺寸:{width}x{height}")接下来,调整图片尺寸是PIL的另一大功能,只需设置新的宽度和高度即可:python new_img = img.resize((new_width, new_height))new_img.save('resized_image.jpg')裁剪图片同样简单,指定需要的部分坐标:python cropped_img = img.crop((left, top, right python——PIL...