Imagemagick: Convert to fixed width, proportional height

前端 未结 2 1943
北荒
北荒 2021-01-30 15:26

Using the imagemagick convert command, how can I resize an image to a fixed width and proportional height e.g. using the -resize or the -thumbnail option?

2条回答
  •  轮回少年
    2021-01-30 16:13

    Use -resize 100x to resize images to 100 pixels in width while maintaining the height's aspect ratio.

    Read the fine ImageMagick manual for details.

提交回复
热议问题