PHPackages                             ahead4/image - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. ahead4/image

ActiveLibrary[Image &amp; Media](/categories/media)

ahead4/image
============

Image handling

v2.0.22(9y ago)010.8k↓50%MITPHPPHP ^5.3 || ^7.0

Since Dec 4Pushed 9y ago4 watchersCompare

[ Source](https://github.com/ahead4ltd/image)[ Packagist](https://packagist.org/packages/ahead4/image)[ Docs](https://github.com/Gregwar/Image)[ RSS](/packages/ahead4-image/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (30)Used By (0)

Gregwar's Image class
=====================

[](#gregwars-image-class)

[![Build status](https://camo.githubusercontent.com/7e41d5b43c36f2e9f9b5665c4ae3daa32a7db0806cd2aca3d90208d45bf3f336/68747470733a2f2f7472617669732d63692e6f72672f477265677761722f496d6167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Gregwar/Image)

The `Gregwar\Image` class purpose is to provide a simple object-oriented images handling and caching API.

Installation
============

[](#installation)

With composer :

```
{
    ...
    "require": {
        "gregwar/image": "2.*"
    }
}
```

Usage
=====

[](#usage)

Basic handling
--------------

[](#basic-handling)

Using methods chaining, you can open, transform and save a file in a single line:

```
