05/08
2012
dev-master
9999999-dev http://michaelpeacock.co.ukImage Management Tool
MIT
The Requires
- php >=5.3.0
Wallogit.com
2017 © Pedro Peláez
Image Management Tool
This is a simple tool for resizing, scaling, rendering and uploading images with PHP., (*1)
The easiest way to install this tool is using composer. Create the following composer.json file in the root of your project., (*2)
{
"require": {
"centralapps/image-manager": "dev-master"
}
}
Then run composer to download and install the component., (*3)
$ curl -s https://getcomposer.org/installer | php $ php composer.phar install
$imageTools = new \CentralApps\ImageManager\Tools();
$imageTools->loadFromFile('/var/www/original.png');
$imageTools->resizeScaleHeight(150);
$imageTools->save('/var/www/newfile.png');
Image Management Tool
MIT