Skip to content
PHP Image Manipulation
PHP
Branch: master
Clone or download
olivervogel Merge pull request #951 from rez1dent3/master
added the $format parameter to the save method
Latest commit 39eaef7 Jun 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src added the $format parameter to the save method Jun 7, 2019
tests add test unit Jun 10, 2019
.gitattributes Add .gitattributes files Dec 21, 2015
.gitignore add more formats support Oct 26, 2017
.travis.yml Added PHP versions to CI May 31, 2019
LICENSE v2 May 10, 2014
README.md changed readme Jul 4, 2017
composer.json Update composer.json Dec 11, 2017
phpunit.xml v2 May 10, 2014
provides.json Updated provides.json Backslash syntax error Jun 22, 2016

README.md

Intervention Image

Intervention Image is a PHP image handling and manipulation library providing an easier and expressive way to create, edit, and compose images. The package includes ServiceProviders and Facades for easy Laravel integration.

Latest Version Build Status Monthly Downloads

Requirements

  • PHP >=5.4
  • Fileinfo Extension

Supported Image Libraries

  • GD Library (>=2.0)
  • Imagick PHP extension (>=6.5.7)

Getting started

Code Examples

// 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 official documentation to learn more about Intervention Image.

Contributing

Contributions to the Intervention Image library are welcome. Please note the following guidelines before submiting your pull request.

  • Follow PSR-2 coding standards.
  • Write tests for new functions and added features
  • API calls should work consistently with both GD and Imagick drivers

License

Intervention Image is licensed under the MIT License.

Copyright 2017 Oliver Vogel

You can’t perform that action at this time.