An open API service indexing awesome lists of open source software.

https://github.com/atiksoftware/php-class-imgmodel

PHP Image editor. Create-resize-draw vs.
https://github.com/atiksoftware/php-class-imgmodel

Last synced: over 1 year ago
JSON representation

PHP Image editor. Create-resize-draw vs.

Awesome Lists containing this project

README

          

# php-class-imgmodel

PHP Image editor. Create-resize-draw vs.

----------
## Installation

### Using Composer

```sh
composer require atiksoftware/php-class-imgmodel
```

```php
require __DIR__.'/../vendor/autoload.php';

use \Atiksoftware\IMGModel\IMGModel;
$img = new IMGModel();
```
#### _compress image_
```php
$img->load("input.png");
$img->maxarea(1280,720);
$img->save("output.png",false,70);
```