[英]Imagemagick: Ignores exact dimensions?
For some reason, 由于某些原因,
-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
all output 1920x1080 images, and 全部输出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
all output 1920x1079-sized images. 全部输出1920x1079尺寸的图像。
Correct me if I'm wrong, but that's not right. 如果我错了,请纠正我,但这是不对的。 What can I do about this, when I absolutely need a 1920x1080 output every time, and prefer to keep this within imagemagick with only one pass? 当我每次都绝对需要1920x1080输出并且更愿意只通过一次将其保留在imagemagick中时,该怎么办?
Change the -resize 1920x1080
at the end of each command to -resize 1920x1080!
将每个命令末尾的-resize 1920x1080
更改为-resize 1920x1080!
to force exact dimensions. 强制精确的尺寸。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.