将矩形图像调整为正方形,保持比例并用黑色填充背景 [英]Resize rectangular image to square, keeping ratio and fill background with black
Python Wand如何调整大小以保持长宽比并透明地填充剩余空间 [英]Python Wand how to resize keeping aspect ratio and filling in the remaining space with an transparency