Download the PHP package zepekegno/resize-image without Composer
On this page you can find all versions of the php package zepekegno/resize-image. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zepekegno/resize-image
More information about zepekegno/resize-image
Files in zepekegno/resize-image
Package resize-image
Short Description Resize an image and convert into another format. driver use is GD
License MIT
Informations about the package resize-image
Resize an Image
This Library will help you to convert easily and image into other format. this library use GD driver. PHP version supported *8 What we can do with this library ?
- We can convert an image into another format.
- We can resize an image to another format.
-
We can convert and resize an image to another format simultaneously.
Format supported for resizing : PNG, JPEG, JPG, GIF Format supported for conversion : PNG, JPEG, JPG
ResizeImage are constructed with this parameters
-
$source string, the filename
-
$width int, the new width of the file
- $height int, the new height of the file
The make method which needs the following parameters
-
$target string, the directory where the file will be store
-
$quality int, the quality of the image will be use for png [0-9], jpeg or png [0-100], gif are not need
- $delete *bool, Optional, true delete the file if exist else it will be copied into a new file prepend with *cpr
The convert method which needs the following parameters
-
$type string, the format would be convert the image
-
$target string, the directory where the file will be store
-
$quality int, the quality of the image will be use for png [0-9], jpeg or png [0-100], gif are not need
- $isResizable bool, Optional, true convert and resize the image, false convert only the image
The support conversion for Gif is'nt available