2017 © Pedro Peláez
 

library image

Image is a PHP library

image

armd-pro/image

Image is a PHP library

  • Thursday, November 23, 2017
  • by armd-pro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 220 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Image Resize and Crop

Example

if($normalize = !$cropMode) {
    $cropMode = Image::RESIZE_MODE_NORMALIZE;
}

$image = new ImageFromFile($imagePath);

if(!$w) {
    $image->resizeByHeight($h, $normalize);
} else if(!$h) {
    $image->resizeByWidth($w, $normalize);
} else {
    $image->resize($w, $h, $cropMode);
}

$image->output();

The Versions

23/11 2017

dev-master

9999999-dev https://github.com/armd-pro/image

Image is a PHP library

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

image image resize image crop image modification

23/11 2017

dev-dev

dev-dev https://github.com/armd-pro/image

Image is a PHP library

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

image image resize image crop image modification

21/11 2017

1.0.0

1.0.0.0 https://github.com/armd-pro/image

Image is a PHP library

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-gd *

 

image image resize image crop image modification