Imagemagick:忽略精确尺寸?

Imagemagick:忽略精确尺寸?,image,imagemagick,Image,Imagemagick,出于某种原因 -rotate 186.516 -crop 3194x1796+2350+2420 -resize 1920x1080 -rotate 186.522 -crop 3192x1795+2360+2420 -resize 1920x1080 -rotate 186.527 -crop 3190x1794+2370+2420 -resize 1920x1080 所有输出1920x1080图像,以及 -rotate 186.533 -crop 3188x1792+2380+2420 -

出于某种原因

-rotate 186.516 -crop 3194x1796+2350+2420 -resize 1920x1080
-rotate 186.522 -crop 3192x1795+2360+2420 -resize 1920x1080
-rotate 186.527 -crop 3190x1794+2370+2420 -resize 1920x1080
所有输出1920x1080图像,以及

-rotate 186.533 -crop 3188x1792+2380+2420 -resize 1920x1080
-rotate 186.538 -crop 3186x1791+2390+2420 -resize 1920x1080
-rotate 186.544 -crop 3184x1790+2400+2420 -resize 1920x1080
所有输出1920x1079大小的图像


如果我错了,请纠正我,但那是不对的。当我每次都绝对需要1920x1080输出,并且只需一次就可以将其保存在imagemagick中时,我该怎么办?

将每个命令末尾的-resize 1920x1080更改为-resize 1920x1080!强制精确尺寸。

太棒了!正是我想要的。谢谢你,马克