Assuming you know the size you would like to crop to (new_width X new_height): import Image im = Image.open( ) width, height = im.size # Get dimensio.
確定! 回上一頁