asmx / cropper
crop images, resize ond fit to size
dev-master
2019-12-17 09:22 UTC
Requires
- ext-gd: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-12 09:22:47 UTC
README
Create an image of the desired size with the original ratio and the size to fill the fields with the main color in the image
Installation
composer require asmx/cropper
Usage
use Asmx\Cropper\Cropper;
$cropper = new Cropper();
$cropper->
from('input_path_file')->
to('output_path_file')->
size([600,200])->
fit();