开发者

Image Magick: resize and fill doesn't work

开发者 https://www.devze.com 2022-12-28 19:17 出处:网络
this is what I\'m doing: 开发者_高级运维convert input.png -fill white -resize 2480x3508^ out.png

this is what I'm doing:

开发者_高级运维
convert input.png -fill white -resize 2480x3508^ out.png

and I get:

convert: invalid argument for option `2480x3508^': -resize.

Version: ImageMagick 6.2.8 06/11/08 Q16 http://www.imagemagick.org

The error doesn't present itself if the '^' at the end of the Geometry argument is removed.


The Fill Area Flag (^) is available from ImageMagick v6.3.8-3 onwards. For further reference and an alternative for older versions, please check the following link.

http://www.imagemagick.org/Usage/resize/#space_fill

0

精彩评论

暂无评论...
验证码 换一张
取 消