Crop an image to match the given dimensions without resizing.
Become a backer or sponsor to support our work.
You must provide both width and height. Use the anchor1 option to change the crop box anchor point.
1
[width]x[height]: required.[anchor]: optional.
| Examples | ||
|---|---|---|
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
The anchor determines the placement of the crop box. You may specify TopLeft, Top, TopRight, Left, Center, Right, BottomLeft, Bottom, BottomRight, or Smart. The default value is Smart. ↩︎