裁剪图像以匹配给定的尺寸而不调整大小。
成为我们的资助者或赞助商,以支持我们的工作。
你必须同时提供宽度和高度,还可以使用 anchor1 选项更改剪切框锚点。
1
[width]x[height]
必填。[anchor]
可选。Examples | ||
---|---|---|
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
锚点决定了剪切框的位置,你可以指定 TopLeft
、Top
、TopRight
、Left
、Center
、Right
、BottomLeft
、Bottom
、BottomRight
或 Smart
,默认为 Smart
。 ↩︎