PHP helper class for image manipulation (using Imagick or GD - whichever is available).
Via Composer
$ composer require vakata/image
$image = new \vakata\image\Image('image.png');
header('Content-Type: image/jpeg');
echo $image
->crop(200, 200)
->grayscale()
->rotate(90)
->toJPG();
Read more in the API docs
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email github@vakata.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.