Skip to content

MMakijenko/PHP-Instagram-effects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-Instagram-effects

PHP class for photo effects similar to Instagram

Usage

require 'src/Image/Filter.php';

$image = imagecreatefromjpeg("/path/to/image.jpg");

$filter = (new vcImageFilter($image))->aqua();

header('Content-type: image/jpeg');
imagejpeg($filter->getImage());

Examples of usage are in the examples directory. To generate example images, this bash snippet may be helpful:

for f in *.php; do php $f > ${f%.php}.png; done

About

php class for photo effects as a Instagram

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%