2017 © Pedro Peláez
 

library rtimage

Resize tool image

image

cent4auka/rtimage

Resize tool image

  • Tuesday, April 19, 2016
  • by cent4auka
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

rtimage

Resize tool image, (*1)

Installing via Composer

If you do not already have Composer installed, you may do so by following the instructions at getcomposer.org. On Linux you'll run the following commands:, (*2)

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Please refer to the Composer Documentation if you encounter any problems or want to learn more about Composer usage., (*3)

If you had Composer already installed before, make sure you use an up to date version. You can update Composer by running composer self-update., (*4)

With Composer installed, you can install Yii by running the following commands under a Web-accessible folder:, (*5)

composer require "cent4auka/rtimage:~1.0"

Usage

$image = new \ResizeTool\Image($filePath);
$image->resize(100, 100);
$image->save();

// or

$image = new \ResizeTool\Image($originFilePath);
$image->resize(100, 100)
    ->save($resultFilePath);

Methods

$image = new \ResizeTool\Image($filePath);

// methods of image:
$image->setBackgroudColor(0xFFFFFF)
$image->resize(100, 100);
$image->crop(400, 0, 300, 300)
$image->cropCenter(300, 300)

$image->save();

The Versions

19/04 2016

dev-master

9999999-dev https://github.com/cent4auka/rtimage

Resize tool image

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-gd *

 

by Leonid Gushchin

library image resize tool

19/04 2016

v1.0.3

1.0.3.0 https://github.com/cent4auka/rtimage

Resize tool image

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-gd *

 

by Leonid Gushchin

library image resize tool

13/01 2016

dev-development

dev-development https://github.com/cent4auka/rtimage

Resize tool image

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-gd *

 

by Leonid Gushchin

library image resize tool

13/01 2016

v1.0.2

1.0.2.0 https://github.com/cent4auka/rtimage

Resize tool image

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-gd *

 

by Leonid Gushchin

library image resize tool

13/01 2016

v1.0.1

1.0.1.0 https://github.com/cent4auka/rtimage

Resize tool image

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-gd *

 

by Leonid Gushchin

library image resize tool

13/01 2016

v1.0.0

1.0.0.0 https://github.com/cent4auka/rtimage

Resize tool image

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-gd *

 

by Leonid Gushchin

library image resize tool