Intervention Image is a PHP image handling and manipulation library based on the PHP GD library. The package includes ServiceProviders and Facades for easy Laravel 4 integration.
- PHP >=5.3
- GD >=2.0
// open an image file
$img = Image::make('public/foo.jpg');
// resize image instance
$img->resize(320, 240);
// insert a watermark
$img->insert('public/watermark.png');
// save image in desired format
$img->save('public/bar.jpg');
Refer to the documentation to learn more about Intervention Image.
Intervention Image is licensed under the MIT License.
Copyright 2013 Oliver Vogel