Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diloabininyeri/image-resize
A simple tool that converts all images into each other was written by simply encapsulating the load and resize methods.
https://github.com/diloabininyeri/image-resize
gd-library image image-processing php resize-images
Last synced: 2 months ago
JSON representation
A simple tool that converts all images into each other was written by simply encapsulating the load and resize methods.
- Host: GitHub
- URL: https://github.com/diloabininyeri/image-resize
- Owner: diloabininyeri
- Created: 2018-05-17T06:48:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T09:33:56.000Z (over 6 years ago)
- Last Synced: 2024-04-17T13:20:22.420Z (9 months ago)
- Topics: gd-library, image, image-processing, php, resize-images
- Language: PHP
- Homepage:
- Size: 113 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**php image resize and save library**
composer require zeus/image
![](https://pilsniak.com/wp-content/uploads/2017/02/logo-composer-transparent.png)
Guide using
use Image\Image;
class test
{
public function testResize()
{
$image = new Image();
$image->load((string) "ay.jpg")
->resize(800, 600)
->save("sonbir.jpg", 80);
}
}
(new test())->testResize();
- save method have two parameter save($outputname,$quality)
- load method have one parameter load image load($imagepath)
- resize method have two parameter resize($width,$height)**example use on laravel**
[![](https://image.ibb.co/iFnbdy/Screenshot_from_2018_05_17_14_41_00.png)](https://image.ibb.co/iFnbdy/Screenshot_from_2018_05_17_14_41_00.png)