Imagemagick:忽略精确尺寸?

Imagemagick: Ignores exact dimensions?

出于某种原因,

-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! 以强制使用精确尺寸。