Download the PHP package innobotics/imageresize without Composer
On this page you can find all versions of the php package innobotics/imageresize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innobotics/imageresize
More information about innobotics/imageresize
Files in innobotics/imageresize
Package imageresize
Short Description PHP class to resize images
License MIT
Homepage https://github.com/innobotics/imageresize
Informations about the package imageresize
Image resize
Install
You can install ImageResize by composer. Add this row to your composer.json.
But do you want to include this pack use this:
Usage
You should create an image object.
Add types. The type contains the key, and the image's size.
Add the source file.
Add the target folder.
If you don't like the original name, you can add a new filename. (It is optional)
Would you like to set compression? Add this one: (It is optional, the default value is 75)
Would you like to set compression type? Add this one: (It is optional, the default value is 9) You can find types here: https://www.geeksforgeeks.org/php-imagick-setimagecompression-function/
Would you like to use a file prefix? Add this one: (It is optional)
Would you like to disable progressive (setInterlace)? Add this one: (It is optional)
Would you like to use retina sizes? Add this one: (It is optional)
If you don't want to save the original image you can disable it. Add this one: (It is optional)
Resize your image.
Then you can reach the result.
If the resize was success, the result is:
But the resize was false, the result is:
All versions of imageresize with dependencies
ext-gd Version *
ext-imagick Version *
ext-exif Version *