2017 © Pedro Peláez
 

project image-resize

image

stereoflo/image-resize

  • Thursday, February 22, 2018
  • by StereoFlo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 27 % Grown

The README.md

English version is contained below., (*1)

Image Resizer

Простой ресайзер изображенией. Позволяет изменять изображения JPG, GIF, PNG., (*2)

Установка

composer require stereoflo/image-resize

Использование


$image = new \ImageResize\Image('pathToYouSourceImage');

или, (*3)


$image = \ImageResize\Image::create('pathToYouSourceImage');

Изменить размер и отправить изображение в браузер:, (*4)

$image->resize(400, 400)->send();

Изменить размер и сохраниеть в файловой системе:, (*5)

$image->resize(400, 400)->save('pathToNewFile');

English version

Simple image resizer. It can work with such file types: JPG, GIF, PNG. It ready for use with Laravel 5.X, (*6)

How to install

composer require stereoflo/image-resize

How to use


$image = new \ImageResize\Image('pathToYouSourceImage');

or you can make a static call, (*7)


$image = \ImageResize\Image::create('pathToYouSourceImage');

Change the size and send to a browser, (*8)

$image->resize(400, 400)->send();

Change the size and save in a file system:, (*9)

$image->resize(400, 400)->save('pathToNewFile');

The Versions

22/02 2018

dev-master

9999999-dev

  Sources   Download

MIT

by Avatar StereoFlo

15/01 2018

dev-develop

dev-develop

  Sources   Download

MIT

by Avatar StereoFlo