library image
New type of image manipulation.
stanimirdim92/image
New type of image manipulation.
- Monday, October 26, 2015
- by Stanimir
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Image - Image manipulation library
, (*1)
, (*2)
Documentation
TBA, (*3)
Installation
$ composer require stanimirdim92/image:dev-master
Contributing
Contributions are very welcome., (*4)
License
Image is licensed under The MIT License (MIT)., (*5)
Usage
Current support is only for GD library, (*6)
use Image\Application;
$options = [
'png_compression_level' => 9,
'png_compression_filter' => "all",
];
$app = new Application(__DIR__."/30b0bo0.png", $options);
$image = $app->getImage();
$image->resize(320, 240);
$image->save('public/images/', "test.png");