这展示了代码如何自动调整图像的大小来适合所请求的图像。
This demonstrates how the code automatically adjusts the image to fit into the requested image.
通常,当通过移动尺寸柄调整图像的大小时,图像编辑器裁剪或增大图像。
Normally, the image editor crops or enlarges an image when you resize it by moving a sizing handle.
要用convert调整图像的大小,只要使用- sample命令行选项。
To resize the image with convert, just use the -sample command-line option.
应用推荐