Download the PHP package resampler/resampler without Composer
On this page you can find all versions of the php package resampler/resampler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download resampler/resampler
More information about resampler/resampler
Files in resampler/resampler
Package resampler
Short Description Simple PHP library for resampling images with GD extension
License WTFPL
Homepage https://github.com/arxeiss/Resampler.php
Informations about the package resampler
Resampler.php
Simple PHP library for resampling images with GD extension. More on https://arxeiss.github.io/resampler.php/
Why another library? What is so special?
- Resampler is only for resampling and never will contain drawing methods
- Counting memory usage to avoid Fatal error caused by allocating too much memory
- Support resize, crop, rectangle and rotate methods. Especially rectangle is missing in many other libraries
- Using cascade pattern / method chaining
- Support JPEG, PNG and GIF images. Decision is automatical based on file suffix
Installation & requirements
Library can be installed from Packagist and loaded with Composer, which is preferred way. Alternatively can be installed manually and loaded with autoload.php
file.
Put this line into your composer.json
file
or execute following command
Manually can be library loaded with including autoload.php
file:
Requirements
Library requires at least PHP 5.4 and extension GD
Documentation and examples
More info about library, API documentation and code examples can be found on https://arxeiss.github.io/resampler.php/
All versions of resampler with dependencies
ext-gd Version *