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